Interview blog

The Most Common LeetCode Interview Questions, Cross-Checked

Written February 17, 2026Updated November 12, 202611 min read
Top 30 Most Common LeetCode Interview Questions You Should Prepare For

Fifty problems appear in Blind 75, NeetCode 150 and LeetCode's Top Interview 150. Here they are by pattern, with a worked example and a Python plan.

Companies generally do not publish their interview questions, so every "most common" list is somebody's judgment. The useful move is to look for where independent lists agree. We compared three widely shared lists: the original Blind 75, posted on Blind on December 30, 2018; NeetCode 150; and LeetCode's own Top Interview 150 study plan. Fifty problems appear in all three. By LeetCode's labels, 32 are medium, 13 easy and 5 hard, and they fall into sixteen patterns. If you can solve these cold while explaining your reasoning, you have covered the problems that three widely used lists agree on. The full list is below, grouped by pattern.

These problems mostly come up in the coding rounds; for where those rounds sit next to the phone screen, system design and behavioral interviews, see our walk-through of the software engineer interview process.

How the list was built, and what it leaves out

We pulled the three lists on October 18, 2026 and matched them problem by problem.

  • NeetCode 150 contains all of Blind 75. So the overlap of all three is simply Blind 75 problems that LeetCode also put in Top Interview 150: 50 of the 75.
  • NeetCode 150 and Top Interview 150 share 77 problems. The two 150-problem lists disagree on almost half their content, which tells you how much "top questions" depends on who is choosing.
  • Top Interview 150 leans on arrays and strings. Its largest group is Array / String.

The 25 Blind 75 problems that missed the cut are still worth knowing. Some are classics you would expect on any list: Reverse Linked List, Top K Frequent Elements, Lowest Common Ancestor of a BST, Serialize and Deserialize Binary Tree, Decode Ways and Pacific Atlantic Water Flow are all in Blind 75 and NeetCode 150 but not in Top Interview 150. Treat the 50 as the floor, not the ceiling.

What the overlap cannot tell you is which problems a given company asks this year. These lists are curated selections, not published interview data from any company. For a specific company, pair this list with that company's own guidance and recent candidate reports.

The 50 problems, by pattern

LeetCode problem numbers are in brackets. The last column is what the interviewer learns from watching you solve it, which matters more than the problem itself.

  • Pattern — Problems — What it shows the interviewer
  • Arrays and hashing — Two Sum (1), Valid Anagram (242), Group Anagrams (49), Longest Consecutive Sequence (128), Product of Array Except Self (238) — Whether you trade memory for time without being told to, and can build an answer from prefix and suffix passes
  • Two pointers — Valid Palindrome (125), 3Sum (15), Container With Most Water (11) — Whether you use sorted order or symmetry to remove a nested loop, and handle duplicates cleanly
  • Sliding window — Best Time to Buy and Sell Stock (121), Longest Substring Without Repeating Characters (3), Minimum Window Substring (76, hard) — Whether you can state the window's rule and keep it true as both ends move
  • Stack — Valid Parentheses (20) — Matching and nesting; a common warm-up
  • Binary search — Search in Rotated Sorted Array (33), Find Minimum in Rotated Sorted Array (153) — Off-by-one discipline and deciding which half is still sorted
  • Linked lists — Merge Two Sorted Lists (21), Linked List Cycle (141), Remove Nth Node From End of List (19), Merge k Sorted Lists (23, hard) — Pointer bookkeeping, dummy heads, fast and slow pointers, and reaching for a heap in Merge k
  • Trees — Maximum Depth of Binary Tree (104), Same Tree (100), Invert Binary Tree (226), Binary Tree Level Order Traversal (102), Validate Binary Search Tree (98), Kth Smallest Element in a BST (230), Construct Binary Tree from Preorder and Inorder Traversal (105), Binary Tree Maximum Path Sum (124, hard) — Whether you know what each recursive call returns versus what it records on the side
  • Tries — Implement Trie (208), Design Add and Search Words Data Structure (211), Word Search II (212, hard) — Designing a small data structure with a clean interface
  • Heap — Find Median from Data Stream (295, hard) — Keeping two heaps balanced as data arrives
  • Backtracking — Combination Sum (39), Word Search (79) — Choose, explore, undo, and pruning before the search explodes
  • Graphs — Number of Islands (200), Clone Graph (133), Course Schedule (207) — Spotting that a grid or dependency list is a graph, visited sets, cycle detection
  • Intervals — Merge Intervals (56), Insert Interval (57) — Sorting first, then one careful pass with touching and nested edge cases
  • Greedy — Maximum Subarray (53), Jump Game (55) — Arguing why the locally best choice is safe
  • 1-D dynamic programming — Climbing Stairs (70), House Robber (198), Coin Change (322), Word Break (139), Longest Increasing Subsequence (300), Longest Palindromic Substring (5) — Naming the state and recurrence out loud before coding
  • Matrix — Rotate Image (48), Spiral Matrix (54), Set Matrix Zeroes (73) — Index control, and doing it in place when asked
  • Bit manipulation — Number of 1 Bits (191), Reverse Bits (190) — Comfort with shifts and masks; rarely the main question

Notice how few patterns there are. Fifty problems, sixteen rows, and the same ideas repeat: a hash map, two indexes moving through an array, a recursive function on a tree, a queue for breadth-first search. In an interview the problem may arrive as a situation rather than a LeetCode title, and recognising the pattern underneath is part of the work.

A worked example: Longest Substring Without Repeating Characters

This is problem 3, in all three lists. Given a string, return the length of the longest substring with no repeated character.

Clarify (two minutes). Is the input ASCII or any Unicode? Can it be empty? Do spaces count as characters? Am I returning the length or the substring itself? Each answer changes a line of code, and asking shows you saw the edges before writing.

Say the brute force, then improve it. Checking every substring is O(n²) substrings, each checked in up to O(n). Instead, keep a window [left, right] that never contains a repeat. Move right one step at a time. When the new character already appears inside the window, move left just past its earlier copy. Each index moves forward only, so the pass is O(n) time and O(k) space for k distinct characters.

def length_of_longest_substring(s: str) -> int:
    last_seen = {}                     # character -> index where we last saw it
    left = best = 0
    for right, ch in enumerate(s):
        if last_seen.get(ch, -1) >= left:
            left = last_seen[ch] + 1   # jump past the earlier copy
        last_seen[ch] = right
        best = max(best, right - left + 1)
    return best

Test it out loud. Walk through "" (0), "bbbbb" (1), "pwwkew" (3) and then "abba" (2). The last one is where most candidates slip. If you write if ch in last_seen: without checking that the earlier copy is still inside the window, then at the final a the code moves left backwards to index 1 and returns 3. The window "bba" is not valid. Catching that yourself, before the interviewer does, shows the testing habit interviewers look for.

Expect a follow-up. Natural ones for this problem, each a step up the same pattern: Longest Repeating Character Replacement (424), where the window may hold up to k changes, and Minimum Window Substring (76), where you grow the window until it is valid and then shrink it to find the smallest one. Both are in Blind 75.

A weak answer reaches working code in silence. A strong one may be no faster, but the interviewer can write down every decision you made.

What interviewers score besides the answer

The Tech Interview Handbook's coding interview rubric splits a round into four areas: communication, problem solving, technical competency, and testing. Reaching an optimized solution is one of several basic problem-solving signals. A candidate who hits all the basic signals but has no time left for the advanced ones (more than one solution, the trade-offs between them, follow-up problems) rates "Leaning hire" for problem solving, not "Strong hire". The rubric also says the final score reflects overall performance across the criteria, not a mathematical cut-off.

In practice this means grinding more problems has diminishing returns. Fifty problems you can explain beat two hundred you have only submitted.

If you practise in Python

Python keeps interview code short, but a few standard-library details decide whether your solution really has the complexity you claim:

  • Use `collections.deque` for breadth-first search. The Python docs say lists incur O(n) costs for pop(0) and insert(0, v); a deque appends and pops from either end in roughly O(1). A BFS built on list.pop(0) quietly becomes quadratic.
  • `heapq` is a min-heap. The smallest item is always heap[0]. For a max-heap, push negated values. heapq.nlargest(k, …) is a clean answer for small k, but say the complexity out loud.
  • `collections.Counter` covers frequency problems. most_common(k) returns the k most common elements with their counts, which is the first step of Top K Frequent Elements.
  • Mind the recursion limit. In CPython the default limit is 1,000 frames (sys.getrecursionlimit() returns 1000 in Python 3.13). A recursive depth-first search on a large grid in Number of Islands can hit it, so know the iterative version with an explicit stack.
  • `functools.cache` memoises a recursive function (Python 3.9 and later). It is the fastest way to turn a top-down DP for Coin Change or Word Break into working code, but be ready to explain the bottom-up table too.

If an interviewer asks you to avoid library helpers, write the basic version. Knowing both is what they want to see.

A four-week plan for the 50

About two problems a day, plus review, fits around a full-time job.

  • Week 1: arrays, hashing, two pointers, sliding window, stack, binary search (14 problems). For each one, solve it, then explain it from memory the next day. If you can't explain it, you don't own it yet.
  • Week 2: linked lists, trees and tries (15). Draw every tree problem by hand first.
  • Week 3: graphs, backtracking, intervals, heap, greedy, matrix and bits (15). Start each problem by saying which pattern you think it is and why.
  • Week 4: dynamic programming (6), then timed re-solves of anything you got wrong. Give yourself 40 minutes per problem: about five to clarify, five to plan, twenty to code and ten to test by hand. Do at least two mock interviews with another person.

After that, add the 25 Blind 75 problems outside the overlap, then the rest of NeetCode 150 or Top Interview 150 for the patterns you found hardest.

Where Verve fits

Attempt every problem fully on your own first. Review is where a tool can save time. Verve AI's Coding Copilot captures a problem from your screen and returns a solution, and its quick actions include Edge Case, Complexity and Alternative, which you can compare against your own analysis after an attempt. It works best when the full question, including constraints and examples, is in the capture.

For company-specific prep, see our guides to Meta LeetCode interview questions and Google LeetCode interview questions, the LeetCode crash course, and our data structure interview questions.

Sources

  • Blind 75 problem list, posted on Blind on December 30, 2018 (titles and categories): https://www.teamblind.com/post/New-Year-Gift---Curated-List-of-Top-75-LeetCode-Questions-to-Save-Your-Time-OaM1orEU
  • Blind 75 history (first shared on Blind, later reposted, "a modern version" in Grind 75): https://www.techinterviewhandbook.org/best-practice-questions/
  • NeetCode 150 and Blind 75 membership (read from the page's problem data, October 18, 2026): https://neetcode.io/practice
  • LeetCode Top Interview 150: 150 problems in 23 groups, Array / String the largest, difficulty labels (read from the study plan's page data, October 18, 2026; the page returns 403 to non-browser fetches): https://leetcode.com/studyplan/top-interview-150/
  • Overlap counts (50 in all three, 77 shared by the two 150-problem lists, 32/13/5 difficulty split, Blind 75 fully inside NeetCode 150): computed for this article from the three lists above; the matched list is in list-overlap.json next to this draft.
  • Four rubric areas, optimized solution as a basic signal, advanced signals, "Leaning hire" versus "Strong hire" for problem solving, no mathematical cut-off: https://www.techinterviewhandbook.org/coding-interview-rubrics/
  • list.pop(0) and insert(0, v) cost O(n); deque appends and pops in about O(1); Counter.most_common: https://docs.python.org/3/library/collections.html
  • heapq is a min-heap with the smallest item at heap[0]; nlargest: https://docs.python.org/3/library/heapq.html
  • Recursion limit and RecursionError: https://docs.python.org/3/library/sys.html (the default of 1000 was checked by running sys.getrecursionlimit() in Python 3.13.2)
  • functools.cache, added in Python 3.9: https://docs.python.org/3/library/functools.html
  • Coding Copilot (captures the question from the screen, quick actions, works best with the full question in the capture): https://docs.vervecopilot.com/features/coding-copilot
  • Worked example code: written for this article and tested against a brute-force checker on 20,000 random strings, plus the cases listed in the text.
R

Ryan

CEO of Verve AI

Related reads

Explore related blog posts

Software Engineer Interview Process: Every Round Explained
November 12, 2026Interview blog

Software Engineer Interview Process: Every Round Explained

The software engineer interview process round by round: what each stage tests, how it differs by employer and level, and how long it takes.

Read story
30 Most Common Java Coding Interview Questions for 5 Years Experience
April 11, 2025Interview blog

Java Coding Interview Questions and the Java Traps in Them

Common Java coding problems with working code, what each one tests, and the Java-specific mistakes that can sink a correct algorithm.

Read story
Top 30 Most Common 10 Years Experience Java Interview Questions You Should Prepare For
October 19, 2026Interview prep guide

Core Java Interview Questions for 10 Years Experience

Twelve questions senior Java interviews return to, from HashMap and the memory model to GC choice and virtual threads, with what strong answers cover.

Read guide
30 Most Common Java Architect Interview Questions You Should Prepare For
March 12, 2025Interview blog

Java Architect Interview Questions and How to Answer Them

Twelve questions that test an architect's judgment: design trade-offs, data consistency, modern JVM behaviour and leadership, with answer outlines.

Read story
What Should You Know About Mercor Interview Backend Code Review
March 7, 2026Interview blog

Mercor Backend Code Review: What to Flag First

A worked backend snippet with five planted bugs, ranked in the order to raise them aloud, plus what candidates report Mercor actually asks.

Read story
What No One Tells You About Stripe SWE Intern Interview Reddit
March 19, 2026Interview blog

Working at Stripe as an Intern: Reddit's Questions Answered

Stripe's SWE intern posting and recent candidate reports, read together: cohorts, pay, interview rounds, the AI question, return offers and a prep plan.

Read story
What Does Onboarding Meaning Really Mean And Why Should You Start Before Day One
February 19, 2026Interview blog

What Does Onboarding Meaning Really Mean And Why Should You Start Before Day One

Discover what onboarding really means, why early onboarding matters, and how to begin before Day One for faster ramp-up.

Read story
What Is Statutory Employee And Why Should Job Candidates Care
February 4, 2026Interview blog

What Is Statutory Employee And Why Should Job Candidates Care

Understand what a statutory employee is, key tax and hiring implications, and why job candidates should care.

Read story
What Is Statutory Employee Meaning And Why Should You Know It Before An Interview
March 11, 2026Interview blog

What Is Statutory Employee Meaning And Why Should You Know It Before An Interview

Understand the statutory employee definition, key traits, and why knowing it matters for job interviews.

Read story

Walk into every interview prepared and confident

Get Started For Free

Available on Mac, Windows, browser and mobile