Basic Framework

LeetCode

151 posts in this series.

January 14, 2023 · LeetCode · Post 004

BASIC for LeetCode: the most reliable way to think through coding interviews

LeetCode is often treated like a memory contest.

leetcodecoding interviewspatternsproblem solvingsoftware engineers
April 27, 2024 · LeetCode · Post 206

LeetCode Card 206 — Arrays and Hashing / Breakdown

This pattern usually appears when the prompt involves lookup, duplicate detection, counting, grouping, or direct indexbased traversal. Problems like Two Sum, Contains Duplicate,…

Breakdownleetcoderesearch-card
April 29, 2024 · LeetCode · Post 207

LeetCode Card 207 — Arrays and Hashing / Assess

This pattern usually appears when the prompt involves lookup, duplicate detection, counting, grouping, or direct indexbased traversal. Problems like Two Sum, Contains Duplicate,…

Assessleetcoderesearch-card
May 1, 2024 · LeetCode · Post 208

LeetCode Card 208 — Arrays and Hashing / Structure

This pattern usually appears when the prompt involves lookup, duplicate detection, counting, grouping, or direct indexbased traversal. Problems like Two Sum, Contains Duplicate,…

Structureleetcoderesearch-card
May 4, 2024 · LeetCode · Post 209

LeetCode Card 209 — Arrays and Hashing / Implement

This pattern usually appears when the prompt involves lookup, duplicate detection, counting, grouping, or direct indexbased traversal. Problems like Two Sum, Contains Duplicate,…

Implementleetcoderesearch-card
May 6, 2024 · LeetCode · Post 210

LeetCode Card 210 — Arrays and Hashing / Check

This pattern usually appears when the prompt involves lookup, duplicate detection, counting, grouping, or direct indexbased traversal. Problems like Two Sum, Contains Duplicate,…

Checkleetcoderesearch-card
May 8, 2024 · LeetCode · Post 211

LeetCode Card 211 — Strings / Breakdown

This pattern usually appears when the prompt involves normalization, parsing, frequency, slicing, or characterwise conditions. Typical prompts include Valid Palindrome, Longest…

Breakdownleetcoderesearch-card
May 11, 2024 · LeetCode · Post 212

LeetCode Card 212 — Strings / Assess

This pattern usually appears when the prompt involves normalization, parsing, frequency, slicing, or characterwise conditions. Typical prompts include Valid Palindrome, Longest…

Assessleetcoderesearch-card
May 13, 2024 · LeetCode · Post 213

LeetCode Card 213 — Strings / Structure

This pattern usually appears when the prompt involves normalization, parsing, frequency, slicing, or characterwise conditions. Typical prompts include Valid Palindrome, Longest…

Structureleetcoderesearch-card
May 15, 2024 · LeetCode · Post 214

LeetCode Card 214 — Strings / Implement

This pattern usually appears when the prompt involves normalization, parsing, frequency, slicing, or characterwise conditions. Typical prompts include Valid Palindrome, Longest…

Implementleetcoderesearch-card
May 18, 2024 · LeetCode · Post 215

LeetCode Card 215 — Strings / Check

This pattern usually appears when the prompt involves normalization, parsing, frequency, slicing, or characterwise conditions. Typical prompts include Valid Palindrome, Longest…

Checkleetcoderesearch-card
May 20, 2024 · LeetCode · Post 216

LeetCode Card 216 — Two Pointers / Breakdown

This pattern usually appears when the prompt involves sorted input, pair discovery, compaction, palindromic checks, or inplace partitioning. Think Two Sum II, 3Sum substeps,…

Breakdownleetcoderesearch-card
May 22, 2024 · LeetCode · Post 217

LeetCode Card 217 — Two Pointers / Assess

This pattern usually appears when the prompt involves sorted input, pair discovery, compaction, palindromic checks, or inplace partitioning. Think Two Sum II, 3Sum substeps,…

Assessleetcoderesearch-card
May 25, 2024 · LeetCode · Post 218

LeetCode Card 218 — Two Pointers / Structure

This pattern usually appears when the prompt involves sorted input, pair discovery, compaction, palindromic checks, or inplace partitioning. Think Two Sum II, 3Sum substeps,…

Structureleetcoderesearch-card
May 27, 2024 · LeetCode · Post 219

LeetCode Card 219 — Two Pointers / Implement

This pattern usually appears when the prompt involves sorted input, pair discovery, compaction, palindromic checks, or inplace partitioning. Think Two Sum II, 3Sum substeps,…

Implementleetcoderesearch-card
May 29, 2024 · LeetCode · Post 220

LeetCode Card 220 — Two Pointers / Check

This pattern usually appears when the prompt involves sorted input, pair discovery, compaction, palindromic checks, or inplace partitioning. Think Two Sum II, 3Sum substeps,…

Checkleetcoderesearch-card
June 1, 2024 · LeetCode · Post 221

LeetCode Card 221 — Sliding Window / Breakdown

This pattern usually appears when the prompt involves contiguous substring or subarray optimization with a condition that changes as the window moves. Classic examples include…

Breakdownleetcoderesearch-card
June 3, 2024 · LeetCode · Post 222

LeetCode Card 222 — Sliding Window / Assess

This pattern usually appears when the prompt involves contiguous substring or subarray optimization with a condition that changes as the window moves. Classic examples include…

Assessleetcoderesearch-card
June 5, 2024 · LeetCode · Post 223

LeetCode Card 223 — Sliding Window / Structure

This pattern usually appears when the prompt involves contiguous substring or subarray optimization with a condition that changes as the window moves. Classic examples include…

Structureleetcoderesearch-card
June 8, 2024 · LeetCode · Post 224

LeetCode Card 224 — Sliding Window / Implement

This pattern usually appears when the prompt involves contiguous substring or subarray optimization with a condition that changes as the window moves. Classic examples include…

Implementleetcoderesearch-card
June 10, 2024 · LeetCode · Post 225

LeetCode Card 225 — Sliding Window / Check

This pattern usually appears when the prompt involves contiguous substring or subarray optimization with a condition that changes as the window moves. Classic examples include…

Checkleetcoderesearch-card
June 12, 2024 · LeetCode · Post 226

LeetCode Card 226 — Prefix Sums / Breakdown

This pattern usually appears when the prompt involves range sums, subarray totals, balance counting, or repeated aggregate queries. Subarray Sum Equals K, Range Sum Query, and…

Breakdownleetcoderesearch-card
June 14, 2024 · LeetCode · Post 227

LeetCode Card 227 — Prefix Sums / Assess

This pattern usually appears when the prompt involves range sums, subarray totals, balance counting, or repeated aggregate queries. Subarray Sum Equals K, Range Sum Query, and…

Assessleetcoderesearch-card
June 17, 2024 · LeetCode · Post 228

LeetCode Card 228 — Prefix Sums / Structure

This pattern usually appears when the prompt involves range sums, subarray totals, balance counting, or repeated aggregate queries. Subarray Sum Equals K, Range Sum Query, and…

Structureleetcoderesearch-card
June 19, 2024 · LeetCode · Post 229

LeetCode Card 229 — Prefix Sums / Implement

This pattern usually appears when the prompt involves range sums, subarray totals, balance counting, or repeated aggregate queries. Subarray Sum Equals K, Range Sum Query, and…

Implementleetcoderesearch-card
June 21, 2024 · LeetCode · Post 230

LeetCode Card 230 — Prefix Sums / Check

This pattern usually appears when the prompt involves range sums, subarray totals, balance counting, or repeated aggregate queries. Subarray Sum Equals K, Range Sum Query, and…

Checkleetcoderesearch-card
June 24, 2024 · LeetCode · Post 231

LeetCode Card 231 — Binary Search / Breakdown

This pattern usually appears when the prompt involves sorted structure or hidden monotonic predicate. Search Insert Position, Search in Rotated Sorted Array, first/last…

Breakdownleetcoderesearch-card
June 26, 2024 · LeetCode · Post 232

LeetCode Card 232 — Binary Search / Assess

This pattern usually appears when the prompt involves sorted structure or hidden monotonic predicate. Search Insert Position, Search in Rotated Sorted Array, first/last…

Assessleetcoderesearch-card
June 28, 2024 · LeetCode · Post 233

LeetCode Card 233 — Binary Search / Structure

This pattern usually appears when the prompt involves sorted structure or hidden monotonic predicate. Search Insert Position, Search in Rotated Sorted Array, first/last…

Structureleetcoderesearch-card
July 1, 2024 · LeetCode · Post 234

LeetCode Card 234 — Binary Search / Implement

This pattern usually appears when the prompt involves sorted structure or hidden monotonic predicate. Search Insert Position, Search in Rotated Sorted Array, first/last…

Implementleetcoderesearch-card
July 3, 2024 · LeetCode · Post 235

LeetCode Card 235 — Binary Search / Check

This pattern usually appears when the prompt involves sorted structure or hidden monotonic predicate. Search Insert Position, Search in Rotated Sorted Array, first/last…

Checkleetcoderesearch-card
July 5, 2024 · LeetCode · Post 236

LeetCode Card 236 — Stack / Breakdown

This pattern usually appears when the prompt involves nested structure, undostyle behavior, monotonic maintenance, or immediate access to the most recent unresolved item. Valid…

Breakdownleetcoderesearch-card
July 8, 2024 · LeetCode · Post 237

LeetCode Card 237 — Stack / Assess

This pattern usually appears when the prompt involves nested structure, undostyle behavior, monotonic maintenance, or immediate access to the most recent unresolved item. Valid…

Assessleetcoderesearch-card
July 10, 2024 · LeetCode · Post 238

LeetCode Card 238 — Stack / Structure

This pattern usually appears when the prompt involves nested structure, undostyle behavior, monotonic maintenance, or immediate access to the most recent unresolved item. Valid…

Structureleetcoderesearch-card
July 12, 2024 · LeetCode · Post 239

LeetCode Card 239 — Stack / Implement

This pattern usually appears when the prompt involves nested structure, undostyle behavior, monotonic maintenance, or immediate access to the most recent unresolved item. Valid…

Implementleetcoderesearch-card
July 15, 2024 · LeetCode · Post 240

LeetCode Card 240 — Stack / Check

This pattern usually appears when the prompt involves nested structure, undostyle behavior, monotonic maintenance, or immediate access to the most recent unresolved item. Valid…

Checkleetcoderesearch-card
July 17, 2024 · LeetCode · Post 241

LeetCode Card 241 — Queue and Deque / Breakdown

This pattern usually appears when the prompt involves levelorder processing, FIFO workflows, or windows where both ends matter. Binary Tree Level Order Traversal, movingaverage…

Breakdownleetcoderesearch-card
July 19, 2024 · LeetCode · Post 242

LeetCode Card 242 — Queue and Deque / Assess

This pattern usually appears when the prompt involves levelorder processing, FIFO workflows, or windows where both ends matter. Binary Tree Level Order Traversal, movingaverage…

Assessleetcoderesearch-card
July 22, 2024 · LeetCode · Post 243

LeetCode Card 243 — Queue and Deque / Structure

This pattern usually appears when the prompt involves levelorder processing, FIFO workflows, or windows where both ends matter. Binary Tree Level Order Traversal, movingaverage…

Structureleetcoderesearch-card
July 24, 2024 · LeetCode · Post 244

LeetCode Card 244 — Queue and Deque / Implement

This pattern usually appears when the prompt involves levelorder processing, FIFO workflows, or windows where both ends matter. Binary Tree Level Order Traversal, movingaverage…

Implementleetcoderesearch-card
July 26, 2024 · LeetCode · Post 245

LeetCode Card 245 — Queue and Deque / Check

This pattern usually appears when the prompt involves levelorder processing, FIFO workflows, or windows where both ends matter. Binary Tree Level Order Traversal, movingaverage…

Checkleetcoderesearch-card
July 29, 2024 · LeetCode · Post 246

LeetCode Card 246 — Linked List / Breakdown

This pattern usually appears when the prompt involves pointer rewiring, nodebynode traversal, or inplace reordering without random access. Reverse Linked List, Merge Two Lists,…

Breakdownleetcoderesearch-card
July 31, 2024 · LeetCode · Post 247

LeetCode Card 247 — Linked List / Assess

This pattern usually appears when the prompt involves pointer rewiring, nodebynode traversal, or inplace reordering without random access. Reverse Linked List, Merge Two Lists,…

Assessleetcoderesearch-card
August 2, 2024 · LeetCode · Post 248

LeetCode Card 248 — Linked List / Structure

This pattern usually appears when the prompt involves pointer rewiring, nodebynode traversal, or inplace reordering without random access. Reverse Linked List, Merge Two Lists,…

Structureleetcoderesearch-card
August 5, 2024 · LeetCode · Post 249

LeetCode Card 249 — Linked List / Implement

This pattern usually appears when the prompt involves pointer rewiring, nodebynode traversal, or inplace reordering without random access. Reverse Linked List, Merge Two Lists,…

Implementleetcoderesearch-card
August 7, 2024 · LeetCode · Post 250

LeetCode Card 250 — Linked List / Check

This pattern usually appears when the prompt involves pointer rewiring, nodebynode traversal, or inplace reordering without random access. Reverse Linked List, Merge Two Lists,…

Checkleetcoderesearch-card
August 9, 2024 · LeetCode · Post 251

LeetCode Card 251 — Fast and Slow Pointers / Breakdown

This pattern usually appears when the prompt involves cycle detection, midpoint discovery, or relativespeed traversal. Linked List Cycle, Palindrome Linked List, and finding list…

Breakdownleetcoderesearch-card
August 11, 2024 · LeetCode · Post 252

LeetCode Card 252 — Fast and Slow Pointers / Assess

This pattern usually appears when the prompt involves cycle detection, midpoint discovery, or relativespeed traversal. Linked List Cycle, Palindrome Linked List, and finding list…

Assessleetcoderesearch-card
August 14, 2024 · LeetCode · Post 253

LeetCode Card 253 — Fast and Slow Pointers / Structure

This pattern usually appears when the prompt involves cycle detection, midpoint discovery, or relativespeed traversal. Linked List Cycle, Palindrome Linked List, and finding list…

Structureleetcoderesearch-card
August 16, 2024 · LeetCode · Post 254

LeetCode Card 254 — Fast and Slow Pointers / Implement

This pattern usually appears when the prompt involves cycle detection, midpoint discovery, or relativespeed traversal. Linked List Cycle, Palindrome Linked List, and finding list…

Implementleetcoderesearch-card
August 18, 2024 · LeetCode · Post 255

LeetCode Card 255 — Fast and Slow Pointers / Check

This pattern usually appears when the prompt involves cycle detection, midpoint discovery, or relativespeed traversal. Linked List Cycle, Palindrome Linked List, and finding list…

Checkleetcoderesearch-card
August 21, 2024 · LeetCode · Post 256

LeetCode Card 256 — Tree DFS / Breakdown

This pattern usually appears when the prompt involves recursive subtree questions about depth, identity, path sums, construction, or transformation. Invert Binary Tree, Maximum…

Breakdownleetcoderesearch-card
August 23, 2024 · LeetCode · Post 257

LeetCode Card 257 — Tree DFS / Assess

This pattern usually appears when the prompt involves recursive subtree questions about depth, identity, path sums, construction, or transformation. Invert Binary Tree, Maximum…

Assessleetcoderesearch-card
August 25, 2024 · LeetCode · Post 258

LeetCode Card 258 — Tree DFS / Structure

This pattern usually appears when the prompt involves recursive subtree questions about depth, identity, path sums, construction, or transformation. Invert Binary Tree, Maximum…

Structureleetcoderesearch-card
August 28, 2024 · LeetCode · Post 259

LeetCode Card 259 — Tree DFS / Implement

This pattern usually appears when the prompt involves recursive subtree questions about depth, identity, path sums, construction, or transformation. Invert Binary Tree, Maximum…

Implementleetcoderesearch-card
August 30, 2024 · LeetCode · Post 260

LeetCode Card 260 — Tree DFS / Check

This pattern usually appears when the prompt involves recursive subtree questions about depth, identity, path sums, construction, or transformation. Invert Binary Tree, Maximum…

Checkleetcoderesearch-card
September 1, 2024 · LeetCode · Post 261

LeetCode Card 261 — Tree BFS / Breakdown

This pattern usually appears when the prompt involves levelbylevel grouping, shortest unweighted path from a root, or nearestlayer reasoning. Binary Tree Level Order Traversal,…

Breakdownleetcoderesearch-card
September 4, 2024 · LeetCode · Post 262

LeetCode Card 262 — Tree BFS / Assess

This pattern usually appears when the prompt involves levelbylevel grouping, shortest unweighted path from a root, or nearestlayer reasoning. Binary Tree Level Order Traversal,…

Assessleetcoderesearch-card
September 6, 2024 · LeetCode · Post 263

LeetCode Card 263 — Tree BFS / Structure

This pattern usually appears when the prompt involves levelbylevel grouping, shortest unweighted path from a root, or nearestlayer reasoning. Binary Tree Level Order Traversal,…

Structureleetcoderesearch-card
September 8, 2024 · LeetCode · Post 264

LeetCode Card 264 — Tree BFS / Implement

This pattern usually appears when the prompt involves levelbylevel grouping, shortest unweighted path from a root, or nearestlayer reasoning. Binary Tree Level Order Traversal,…

Implementleetcoderesearch-card
September 11, 2024 · LeetCode · Post 265

LeetCode Card 265 — Tree BFS / Check

This pattern usually appears when the prompt involves levelbylevel grouping, shortest unweighted path from a root, or nearestlayer reasoning. Binary Tree Level Order Traversal,…

Checkleetcoderesearch-card
September 13, 2024 · LeetCode · Post 266

LeetCode Card 266 — Binary Search Trees / Breakdown

This pattern usually appears when the prompt involves ordered tree properties, rank queries, or pruning based on node value. Validate BST, Kth Smallest Element in a BST, Lowest…

Breakdownleetcoderesearch-card
September 15, 2024 · LeetCode · Post 267

LeetCode Card 267 — Binary Search Trees / Assess

This pattern usually appears when the prompt involves ordered tree properties, rank queries, or pruning based on node value. Validate BST, Kth Smallest Element in a BST, Lowest…

Assessleetcoderesearch-card
September 18, 2024 · LeetCode · Post 268

LeetCode Card 268 — Binary Search Trees / Structure

This pattern usually appears when the prompt involves ordered tree properties, rank queries, or pruning based on node value. Validate BST, Kth Smallest Element in a BST, Lowest…

Structureleetcoderesearch-card
September 20, 2024 · LeetCode · Post 269

LeetCode Card 269 — Binary Search Trees / Implement

This pattern usually appears when the prompt involves ordered tree properties, rank queries, or pruning based on node value. Validate BST, Kth Smallest Element in a BST, Lowest…

Implementleetcoderesearch-card
September 22, 2024 · LeetCode · Post 270

LeetCode Card 270 — Binary Search Trees / Check

This pattern usually appears when the prompt involves ordered tree properties, rank queries, or pruning based on node value. Validate BST, Kth Smallest Element in a BST, Lowest…

Checkleetcoderesearch-card
September 25, 2024 · LeetCode · Post 271

LeetCode Card 271 — Heaps and Priority Queues / Breakdown

This pattern usually appears when the prompt involves repeated access to current min/max or topk items under ongoing updates. Kth Largest Element, Top K Frequent, Merge K Sorted…

Breakdownleetcoderesearch-card
September 27, 2024 · LeetCode · Post 272

LeetCode Card 272 — Heaps and Priority Queues / Assess

This pattern usually appears when the prompt involves repeated access to current min/max or topk items under ongoing updates. Kth Largest Element, Top K Frequent, Merge K Sorted…

Assessleetcoderesearch-card
September 29, 2024 · LeetCode · Post 273

LeetCode Card 273 — Heaps and Priority Queues / Structure

This pattern usually appears when the prompt involves repeated access to current min/max or topk items under ongoing updates. Kth Largest Element, Top K Frequent, Merge K Sorted…

Structureleetcoderesearch-card
October 2, 2024 · LeetCode · Post 274

LeetCode Card 274 — Heaps and Priority Queues / Implement

This pattern usually appears when the prompt involves repeated access to current min/max or topk items under ongoing updates. Kth Largest Element, Top K Frequent, Merge K Sorted…

Implementleetcoderesearch-card
October 4, 2024 · LeetCode · Post 275

LeetCode Card 275 — Heaps and Priority Queues / Check

This pattern usually appears when the prompt involves repeated access to current min/max or topk items under ongoing updates. Kth Largest Element, Top K Frequent, Merge K Sorted…

Checkleetcoderesearch-card
October 6, 2024 · LeetCode · Post 276

LeetCode Card 276 — Intervals / Breakdown

This pattern usually appears when the prompt involves overlap, merging, scheduling, or span comparison across ranges. Merge Intervals, Insert Interval, Meeting Rooms, and…

Breakdownleetcoderesearch-card
October 8, 2024 · LeetCode · Post 277

LeetCode Card 277 — Intervals / Assess

This pattern usually appears when the prompt involves overlap, merging, scheduling, or span comparison across ranges. Merge Intervals, Insert Interval, Meeting Rooms, and…

Assessleetcoderesearch-card
October 11, 2024 · LeetCode · Post 278

LeetCode Card 278 — Intervals / Structure

This pattern usually appears when the prompt involves overlap, merging, scheduling, or span comparison across ranges. Merge Intervals, Insert Interval, Meeting Rooms, and…

Structureleetcoderesearch-card
October 13, 2024 · LeetCode · Post 279

LeetCode Card 279 — Intervals / Implement

This pattern usually appears when the prompt involves overlap, merging, scheduling, or span comparison across ranges. Merge Intervals, Insert Interval, Meeting Rooms, and…

Implementleetcoderesearch-card
October 15, 2024 · LeetCode · Post 280

LeetCode Card 280 — Intervals / Check

This pattern usually appears when the prompt involves overlap, merging, scheduling, or span comparison across ranges. Merge Intervals, Insert Interval, Meeting Rooms, and…

Checkleetcoderesearch-card
October 18, 2024 · LeetCode · Post 281

LeetCode Card 281 — Greedy / Breakdown

This pattern usually appears when the prompt involves localchoice problems where a proof or intuition shows that the local move supports the global goal. Jump Game, Gas Station,…

Breakdownleetcoderesearch-card
October 20, 2024 · LeetCode · Post 282

LeetCode Card 282 — Greedy / Assess

This pattern usually appears when the prompt involves localchoice problems where a proof or intuition shows that the local move supports the global goal. Jump Game, Gas Station,…

Assessleetcoderesearch-card
October 22, 2024 · LeetCode · Post 283

LeetCode Card 283 — Greedy / Structure

This pattern usually appears when the prompt involves localchoice problems where a proof or intuition shows that the local move supports the global goal. Jump Game, Gas Station,…

Structureleetcoderesearch-card
October 25, 2024 · LeetCode · Post 284

LeetCode Card 284 — Greedy / Implement

This pattern usually appears when the prompt involves localchoice problems where a proof or intuition shows that the local move supports the global goal. Jump Game, Gas Station,…

Implementleetcoderesearch-card
October 27, 2024 · LeetCode · Post 285

LeetCode Card 285 — Greedy / Check

This pattern usually appears when the prompt involves localchoice problems where a proof or intuition shows that the local move supports the global goal. Jump Game, Gas Station,…

Checkleetcoderesearch-card
October 29, 2024 · LeetCode · Post 286

LeetCode Card 286 — Graph DFS / Breakdown

This pattern usually appears when the prompt involves connected components, path existence, cycle detection, or exhaustive traversal. Number of Islands, Clone Graph, course…

Breakdownleetcoderesearch-card
November 1, 2024 · LeetCode · Post 287

LeetCode Card 287 — Graph DFS / Assess

This pattern usually appears when the prompt involves connected components, path existence, cycle detection, or exhaustive traversal. Number of Islands, Clone Graph, course…

Assessleetcoderesearch-card
November 3, 2024 · LeetCode · Post 288

LeetCode Card 288 — Graph DFS / Structure

This pattern usually appears when the prompt involves connected components, path existence, cycle detection, or exhaustive traversal. Number of Islands, Clone Graph, course…

Structureleetcoderesearch-card
November 5, 2024 · LeetCode · Post 289

LeetCode Card 289 — Graph DFS / Implement

This pattern usually appears when the prompt involves connected components, path existence, cycle detection, or exhaustive traversal. Number of Islands, Clone Graph, course…

Implementleetcoderesearch-card
November 8, 2024 · LeetCode · Post 290

LeetCode Card 290 — Graph DFS / Check

This pattern usually appears when the prompt involves connected components, path existence, cycle detection, or exhaustive traversal. Number of Islands, Clone Graph, course…

Checkleetcoderesearch-card
November 10, 2024 · LeetCode · Post 291

LeetCode Card 291 — Graph BFS / Breakdown

This pattern usually appears when the prompt involves shortest path in an unweighted graph, nearest transformation, or wavefront exploration. Rotting Oranges, Word Ladder, minimum…

Breakdownleetcoderesearch-card
November 12, 2024 · LeetCode · Post 292

LeetCode Card 292 — Graph BFS / Assess

This pattern usually appears when the prompt involves shortest path in an unweighted graph, nearest transformation, or wavefront exploration. Rotting Oranges, Word Ladder, minimum…

Assessleetcoderesearch-card
November 15, 2024 · LeetCode · Post 293

LeetCode Card 293 — Graph BFS / Structure

This pattern usually appears when the prompt involves shortest path in an unweighted graph, nearest transformation, or wavefront exploration. Rotting Oranges, Word Ladder, minimum…

Structureleetcoderesearch-card
November 17, 2024 · LeetCode · Post 294

LeetCode Card 294 — Graph BFS / Implement

This pattern usually appears when the prompt involves shortest path in an unweighted graph, nearest transformation, or wavefront exploration. Rotting Oranges, Word Ladder, minimum…

Implementleetcoderesearch-card
November 19, 2024 · LeetCode · Post 295

LeetCode Card 295 — Graph BFS / Check

This pattern usually appears when the prompt involves shortest path in an unweighted graph, nearest transformation, or wavefront exploration. Rotting Oranges, Word Ladder, minimum…

Checkleetcoderesearch-card
November 22, 2024 · LeetCode · Post 296

LeetCode Card 296 — Union-Find / Breakdown

This pattern usually appears when the prompt involves dynamic connectivity, component counting, or equivalence merging. Accounts Merge, Number of Connected Components, and…

Breakdownleetcoderesearch-card
November 24, 2024 · LeetCode · Post 297

LeetCode Card 297 — Union-Find / Assess

This pattern usually appears when the prompt involves dynamic connectivity, component counting, or equivalence merging. Accounts Merge, Number of Connected Components, and…

Assessleetcoderesearch-card
November 26, 2024 · LeetCode · Post 298

LeetCode Card 298 — Union-Find / Structure

This pattern usually appears when the prompt involves dynamic connectivity, component counting, or equivalence merging. Accounts Merge, Number of Connected Components, and…

Structureleetcoderesearch-card
November 29, 2024 · LeetCode · Post 299

LeetCode Card 299 — Union-Find / Implement

This pattern usually appears when the prompt involves dynamic connectivity, component counting, or equivalence merging. Accounts Merge, Number of Connected Components, and…

Implementleetcoderesearch-card
December 1, 2024 · LeetCode · Post 300

LeetCode Card 300 — Union-Find / Check

This pattern usually appears when the prompt involves dynamic connectivity, component counting, or equivalence merging. Accounts Merge, Number of Connected Components, and…

Checkleetcoderesearch-card
December 3, 2024 · LeetCode · Post 301

LeetCode Card 301 — Topological Sort / Breakdown

This pattern usually appears when the prompt involves ordering with prerequisites in a DAG. Course Schedule, build order, dependency resolution, and task execution pipelines point…

Breakdownleetcoderesearch-card
December 6, 2024 · LeetCode · Post 302

LeetCode Card 302 — Topological Sort / Assess

This pattern usually appears when the prompt involves ordering with prerequisites in a DAG. Course Schedule, build order, dependency resolution, and task execution pipelines point…

Assessleetcoderesearch-card
December 8, 2024 · LeetCode · Post 303

LeetCode Card 303 — Topological Sort / Structure

This pattern usually appears when the prompt involves ordering with prerequisites in a DAG. Course Schedule, build order, dependency resolution, and task execution pipelines point…

Structureleetcoderesearch-card
December 10, 2024 · LeetCode · Post 304

LeetCode Card 304 — Topological Sort / Implement

This pattern usually appears when the prompt involves ordering with prerequisites in a DAG. Course Schedule, build order, dependency resolution, and task execution pipelines point…

Implementleetcoderesearch-card
December 12, 2024 · LeetCode · Post 305

LeetCode Card 305 — Topological Sort / Check

This pattern usually appears when the prompt involves ordering with prerequisites in a DAG. Course Schedule, build order, dependency resolution, and task execution pipelines point…

Checkleetcoderesearch-card
December 15, 2024 · LeetCode · Post 306

LeetCode Card 306 — Backtracking / Breakdown

This pattern usually appears when the prompt involves enumeration over choices with constraint pruning. Subsets, Combination Sum, Permutations, NQueens, and wordsearch style…

Breakdownleetcoderesearch-card
December 17, 2024 · LeetCode · Post 307

LeetCode Card 307 — Backtracking / Assess

This pattern usually appears when the prompt involves enumeration over choices with constraint pruning. Subsets, Combination Sum, Permutations, NQueens, and wordsearch style…

Assessleetcoderesearch-card
December 19, 2024 · LeetCode · Post 308

LeetCode Card 308 — Backtracking / Structure

This pattern usually appears when the prompt involves enumeration over choices with constraint pruning. Subsets, Combination Sum, Permutations, NQueens, and wordsearch style…

Structureleetcoderesearch-card
December 22, 2024 · LeetCode · Post 309

LeetCode Card 309 — Backtracking / Implement

This pattern usually appears when the prompt involves enumeration over choices with constraint pruning. Subsets, Combination Sum, Permutations, NQueens, and wordsearch style…

Implementleetcoderesearch-card
December 24, 2024 · LeetCode · Post 310

LeetCode Card 310 — Backtracking / Check

This pattern usually appears when the prompt involves enumeration over choices with constraint pruning. Subsets, Combination Sum, Permutations, NQueens, and wordsearch style…

Checkleetcoderesearch-card
December 26, 2024 · LeetCode · Post 311

LeetCode Card 311 — Trie / Breakdown

This pattern usually appears when the prompt involves prefix queries, incremental string matching, or dictionary search across characters. Implement Trie, Word Search II,…

Breakdownleetcoderesearch-card
December 29, 2024 · LeetCode · Post 312

LeetCode Card 312 — Trie / Assess

This pattern usually appears when the prompt involves prefix queries, incremental string matching, or dictionary search across characters. Implement Trie, Word Search II,…

Assessleetcoderesearch-card
December 31, 2024 · LeetCode · Post 313

LeetCode Card 313 — Trie / Structure

This pattern usually appears when the prompt involves prefix queries, incremental string matching, or dictionary search across characters. Implement Trie, Word Search II,…

Structureleetcoderesearch-card
January 2, 2025 · LeetCode · Post 314

LeetCode Card 314 — Trie / Implement

This pattern usually appears when the prompt involves prefix queries, incremental string matching, or dictionary search across characters. Implement Trie, Word Search II,…

Implementleetcoderesearch-card
January 5, 2025 · LeetCode · Post 315

LeetCode Card 315 — Trie / Check

This pattern usually appears when the prompt involves prefix queries, incremental string matching, or dictionary search across characters. Implement Trie, Word Search II,…

Checkleetcoderesearch-card
January 7, 2025 · LeetCode · Post 316

LeetCode Card 316 — 1D Dynamic Programming / Breakdown

This pattern usually appears when the prompt involves best value or count depends on a previous line of states. Climbing Stairs, House Robber, Decode Ways, and coinchange style…

Breakdownleetcoderesearch-card
January 9, 2025 · LeetCode · Post 317

LeetCode Card 317 — 1D Dynamic Programming / Assess

This pattern usually appears when the prompt involves best value or count depends on a previous line of states. Climbing Stairs, House Robber, Decode Ways, and coinchange style…

Assessleetcoderesearch-card
January 12, 2025 · LeetCode · Post 318

LeetCode Card 318 — 1D Dynamic Programming / Structure

This pattern usually appears when the prompt involves best value or count depends on a previous line of states. Climbing Stairs, House Robber, Decode Ways, and coinchange style…

Structureleetcoderesearch-card
January 14, 2025 · LeetCode · Post 319

LeetCode Card 319 — 1D Dynamic Programming / Implement

This pattern usually appears when the prompt involves best value or count depends on a previous line of states. Climbing Stairs, House Robber, Decode Ways, and coinchange style…

Implementleetcoderesearch-card
January 16, 2025 · LeetCode · Post 320

LeetCode Card 320 — 1D Dynamic Programming / Check

This pattern usually appears when the prompt involves best value or count depends on a previous line of states. Climbing Stairs, House Robber, Decode Ways, and coinchange style…

Checkleetcoderesearch-card
January 19, 2025 · LeetCode · Post 321

LeetCode Card 321 — 2D Dynamic Programming / Breakdown

This pattern usually appears when the prompt involves state depends on two indices, two strings, or gridlike subproblems. Longest Common Subsequence, Edit Distance, unique paths…

Breakdownleetcoderesearch-card
January 21, 2025 · LeetCode · Post 322

LeetCode Card 322 — 2D Dynamic Programming / Assess

This pattern usually appears when the prompt involves state depends on two indices, two strings, or gridlike subproblems. Longest Common Subsequence, Edit Distance, unique paths…

Assessleetcoderesearch-card
January 23, 2025 · LeetCode · Post 323

LeetCode Card 323 — 2D Dynamic Programming / Structure

This pattern usually appears when the prompt involves state depends on two indices, two strings, or gridlike subproblems. Longest Common Subsequence, Edit Distance, unique paths…

Structureleetcoderesearch-card
January 26, 2025 · LeetCode · Post 324

LeetCode Card 324 — 2D Dynamic Programming / Implement

This pattern usually appears when the prompt involves state depends on two indices, two strings, or gridlike subproblems. Longest Common Subsequence, Edit Distance, unique paths…

Implementleetcoderesearch-card
January 28, 2025 · LeetCode · Post 325

LeetCode Card 325 — 2D Dynamic Programming / Check

This pattern usually appears when the prompt involves state depends on two indices, two strings, or gridlike subproblems. Longest Common Subsequence, Edit Distance, unique paths…

Checkleetcoderesearch-card
January 30, 2025 · LeetCode · Post 326

LeetCode Card 326 — Monotonic Stack / Breakdown

This pattern usually appears when the prompt involves next greater/smaller relationships or range influence determined by nearest boundary violations. Daily Temperatures, Next…

Breakdownleetcoderesearch-card
February 2, 2025 · LeetCode · Post 327

LeetCode Card 327 — Monotonic Stack / Assess

This pattern usually appears when the prompt involves next greater/smaller relationships or range influence determined by nearest boundary violations. Daily Temperatures, Next…

Assessleetcoderesearch-card
February 4, 2025 · LeetCode · Post 328

LeetCode Card 328 — Monotonic Stack / Structure

This pattern usually appears when the prompt involves next greater/smaller relationships or range influence determined by nearest boundary violations. Daily Temperatures, Next…

Structureleetcoderesearch-card
February 6, 2025 · LeetCode · Post 329

LeetCode Card 329 — Monotonic Stack / Implement

This pattern usually appears when the prompt involves next greater/smaller relationships or range influence determined by nearest boundary violations. Daily Temperatures, Next…

Implementleetcoderesearch-card
February 8, 2025 · LeetCode · Post 330

LeetCode Card 330 — Monotonic Stack / Check

This pattern usually appears when the prompt involves next greater/smaller relationships or range influence determined by nearest boundary violations. Daily Temperatures, Next…

Checkleetcoderesearch-card
February 11, 2025 · LeetCode · Post 331

LeetCode Card 331 — Shortest Paths / Breakdown

This pattern usually appears when the prompt involves weighted path optimization or repeated frontier relaxation. Network Delay Time, Cheapest Flights Within K Stops, Dijkstralike…

Breakdownleetcoderesearch-card
February 13, 2025 · LeetCode · Post 332

LeetCode Card 332 — Shortest Paths / Assess

This pattern usually appears when the prompt involves weighted path optimization or repeated frontier relaxation. Network Delay Time, Cheapest Flights Within K Stops, Dijkstralike…

Assessleetcoderesearch-card
February 15, 2025 · LeetCode · Post 333

LeetCode Card 333 — Shortest Paths / Structure

This pattern usually appears when the prompt involves weighted path optimization or repeated frontier relaxation. Network Delay Time, Cheapest Flights Within K Stops, Dijkstralike…

Structureleetcoderesearch-card
February 18, 2025 · LeetCode · Post 334

LeetCode Card 334 — Shortest Paths / Implement

This pattern usually appears when the prompt involves weighted path optimization or repeated frontier relaxation. Network Delay Time, Cheapest Flights Within K Stops, Dijkstralike…

Implementleetcoderesearch-card
February 20, 2025 · LeetCode · Post 335

LeetCode Card 335 — Shortest Paths / Check

This pattern usually appears when the prompt involves weighted path optimization or repeated frontier relaxation. Network Delay Time, Cheapest Flights Within K Stops, Dijkstralike…

Checkleetcoderesearch-card
February 22, 2025 · LeetCode · Post 336

LeetCode Card 336 — Bit Manipulation / Breakdown

This pattern usually appears when the prompt involves parity, masks, compact state, powers of two, or toggling flags efficiently. Single Number, counting bits, subset masks, and…

Breakdownleetcoderesearch-card
February 25, 2025 · LeetCode · Post 337

LeetCode Card 337 — Bit Manipulation / Assess

This pattern usually appears when the prompt involves parity, masks, compact state, powers of two, or toggling flags efficiently. Single Number, counting bits, subset masks, and…

Assessleetcoderesearch-card
February 27, 2025 · LeetCode · Post 338

LeetCode Card 338 — Bit Manipulation / Structure

This pattern usually appears when the prompt involves parity, masks, compact state, powers of two, or toggling flags efficiently. Single Number, counting bits, subset masks, and…

Structureleetcoderesearch-card
March 1, 2025 · LeetCode · Post 339

LeetCode Card 339 — Bit Manipulation / Implement

This pattern usually appears when the prompt involves parity, masks, compact state, powers of two, or toggling flags efficiently. Single Number, counting bits, subset masks, and…

Implementleetcoderesearch-card
March 4, 2025 · LeetCode · Post 340

LeetCode Card 340 — Bit Manipulation / Check

This pattern usually appears when the prompt involves parity, masks, compact state, powers of two, or toggling flags efficiently. Single Number, counting bits, subset masks, and…

Checkleetcoderesearch-card
March 6, 2025 · LeetCode · Post 341

LeetCode Card 341 — Matrix Traversal / Breakdown

This pattern usually appears when the prompt involves grid movement, boundary control, inplace marking, or BFS/DFS over 2D structure. Spiral Matrix, Set Matrix Zeroes, Number of…

Breakdownleetcoderesearch-card
March 8, 2025 · LeetCode · Post 342

LeetCode Card 342 — Matrix Traversal / Assess

This pattern usually appears when the prompt involves grid movement, boundary control, inplace marking, or BFS/DFS over 2D structure. Spiral Matrix, Set Matrix Zeroes, Number of…

Assessleetcoderesearch-card
March 11, 2025 · LeetCode · Post 343

LeetCode Card 343 — Matrix Traversal / Structure

This pattern usually appears when the prompt involves grid movement, boundary control, inplace marking, or BFS/DFS over 2D structure. Spiral Matrix, Set Matrix Zeroes, Number of…

Structureleetcoderesearch-card
March 13, 2025 · LeetCode · Post 344

LeetCode Card 344 — Matrix Traversal / Implement

This pattern usually appears when the prompt involves grid movement, boundary control, inplace marking, or BFS/DFS over 2D structure. Spiral Matrix, Set Matrix Zeroes, Number of…

Implementleetcoderesearch-card
March 15, 2025 · LeetCode · Post 345

LeetCode Card 345 — Matrix Traversal / Check

This pattern usually appears when the prompt involves grid movement, boundary control, inplace marking, or BFS/DFS over 2D structure. Spiral Matrix, Set Matrix Zeroes, Number of…

Checkleetcoderesearch-card
March 18, 2025 · LeetCode · Post 346

LeetCode Card 346 — Design and LRU Cache / Breakdown

This pattern usually appears when the prompt involves object behavior, custom API semantics, and datastructure composition. LRU Cache, Min Stack, randomized set, and iterator or…

Breakdownleetcoderesearch-card
March 20, 2025 · LeetCode · Post 347

LeetCode Card 347 — Design and LRU Cache / Assess

This pattern usually appears when the prompt involves object behavior, custom API semantics, and datastructure composition. LRU Cache, Min Stack, randomized set, and iterator or…

Assessleetcoderesearch-card
March 22, 2025 · LeetCode · Post 348

LeetCode Card 348 — Design and LRU Cache / Structure

This pattern usually appears when the prompt involves object behavior, custom API semantics, and datastructure composition. LRU Cache, Min Stack, randomized set, and iterator or…

Structureleetcoderesearch-card
March 25, 2025 · LeetCode · Post 349

LeetCode Card 349 — Design and LRU Cache / Implement

This pattern usually appears when the prompt involves object behavior, custom API semantics, and datastructure composition. LRU Cache, Min Stack, randomized set, and iterator or…

Implementleetcoderesearch-card
March 27, 2025 · LeetCode · Post 350

LeetCode Card 350 — Design and LRU Cache / Check

This pattern usually appears when the prompt involves object behavior, custom API semantics, and datastructure composition. LRU Cache, Min Stack, randomized set, and iterator or…

Checkleetcoderesearch-card
March 29, 2025 · LeetCode · Post 351

LeetCode Card 351 — Math and Combinatorics / Breakdown

This pattern usually appears when the prompt involves counting, modular arithmetic, number properties, or formuladriven reduction. Power functions, combination counting, matrix…

Breakdownleetcoderesearch-card
April 1, 2025 · LeetCode · Post 352

LeetCode Card 352 — Math and Combinatorics / Assess

This pattern usually appears when the prompt involves counting, modular arithmetic, number properties, or formuladriven reduction. Power functions, combination counting, matrix…

Assessleetcoderesearch-card
April 3, 2025 · LeetCode · Post 353

LeetCode Card 353 — Math and Combinatorics / Structure

This pattern usually appears when the prompt involves counting, modular arithmetic, number properties, or formuladriven reduction. Power functions, combination counting, matrix…

Structureleetcoderesearch-card
April 5, 2025 · LeetCode · Post 354

LeetCode Card 354 — Math and Combinatorics / Implement

This pattern usually appears when the prompt involves counting, modular arithmetic, number properties, or formuladriven reduction. Power functions, combination counting, matrix…

Implementleetcoderesearch-card
April 8, 2025 · LeetCode · Post 355

LeetCode Card 355 — Math and Combinatorics / Check

This pattern usually appears when the prompt involves counting, modular arithmetic, number properties, or formuladriven reduction. Power functions, combination counting, matrix…

Checkleetcoderesearch-card