Blind 75 LeetCode Problems: Full List with Solutions

All 75 Blind 75 LeetCode problems grouped by pattern, with LeetCode numbers, difficulty and a full solution for each in Python, Java, Go, JavaScript and C#.

What the Blind 75 is

The Blind 75 is a list of 75 LeetCode problems first shared on the Blind forum as the shortest path through the patterns that coding interviews keep returning to: two pointers, sliding window, binary search, BFS and DFS, dynamic programming, intervals, heaps and tries. It is not the most problems you can do, but the most coverage per problem.

This page lists all 75 in the list’s usual ten groups, with the LeetCode number and difficulty. Every problem links to a full write-up on this site: each one explains the approaches, walks through complexity, and gives code in Python, Java, Go, JavaScript and C#, and C++ on the newest pages.

Coverage: all 75 problems have a full solution on this site.

How to work through it

  • Go group by group, not in random order. Each group teaches one family of patterns, and later problems in a group reuse earlier ideas.
  • Do the Easy problems first in each group, then the Mediums. Leave the Hard ones (Merge k Sorted Lists, Minimum Window Substring, Alien Dictionary, Serialize and Deserialize Binary Tree, Word Search II) until the pattern feels natural.
  • Time-box each attempt to 25-30 minutes. If you’re stuck, read the approach, close it, and write the solution again from memory the next day.
  • Say the complexity out loud before you code. Interviewers care about why an approach is O(n log n) as much as about the code.
  • Plan for 6-8 weeks at about 10 problems a week. Revisit any problem you couldn’t solve cleanly a week later.

Array

#ProblemLeetCodeDifficulty
1Two Sum1Easy
2Best Time to Buy and Sell Stock121Easy
3Contains Duplicate217Easy
4Product of Array Except Self238Medium
5Maximum Subarray53Medium
6Maximum Product Subarray152Medium
7Find Minimum in Rotated Sorted Array153Medium
8Search in Rotated Sorted Array33Medium
93Sum15Medium
10Container With Most Water11Medium

Binary

#ProblemLeetCodeDifficulty
1Sum of Two Integers371Medium
2Number of 1 Bits191Easy
3Counting Bits338Easy
4Missing Number268Easy
5Reverse Bits190Easy

Dynamic Programming

#ProblemLeetCodeDifficulty
1Climbing Stairs70Easy
2Coin Change322Medium
3Longest Increasing Subsequence300Medium
4Longest Common Subsequence1143Medium
5Word Break139Medium
6Combination Sum IV377Medium
7House Robber198Medium
8House Robber II213Medium
9Decode Ways91Medium
10Unique Paths62Medium
11Jump Game55Medium

Graph

#ProblemLeetCodeDifficulty
1Clone Graph133Medium
2Course Schedule207Medium
3Pacific Atlantic Water Flow417Medium
4Number of Islands200Medium
5Longest Consecutive Sequence128Medium
6Alien Dictionary269Hard
7Graph Valid Tree261Medium
8Number of Connected Components in an Undirected Graph323Medium

Interval

#ProblemLeetCodeDifficulty
1Insert Interval57Medium
2Merge Intervals56Medium
3Non-overlapping Intervals435Medium
4Meeting Rooms252Easy
5Meeting Rooms II253Medium

Linked List

#ProblemLeetCodeDifficulty
1Reverse Linked List206Easy
2Linked List Cycle141Easy
3Merge Two Sorted Lists21Easy
4Merge k Sorted Lists23Hard
5Remove Nth Node From End of List19Medium
6Reorder List143Medium

Matrix

#ProblemLeetCodeDifficulty
1Set Matrix Zeroes73Medium
2Spiral Matrix54Medium
3Rotate Image48Medium
4Word Search79Medium

String

#ProblemLeetCodeDifficulty
1Longest Substring Without Repeating Characters3Medium
2Longest Repeating Character Replacement424Medium
3Minimum Window Substring76Hard
4Valid Anagram242Easy
5Group Anagrams49Medium
6Valid Parentheses20Easy
7Valid Palindrome125Easy
8Longest Palindromic Substring5Medium
9Palindromic Substrings647Medium
10Encode and Decode Strings271Medium

Tree

#ProblemLeetCodeDifficulty
1Maximum Depth of Binary Tree104Easy
2Same Tree100Easy
3Invert Binary Tree226Easy
4Binary Tree Maximum Path Sum124Hard
5Binary Tree Level Order Traversal102Medium
6Serialize and Deserialize Binary Tree297Hard
7Subtree of Another Tree572Easy
8Construct Binary Tree from Preorder and Inorder Traversal105Medium
9Validate Binary Search Tree98Medium
10Kth Smallest Element in a BST230Medium
11Lowest Common Ancestor of a BST235Medium
12Implement Trie (Prefix Tree)208Medium
13Design Add and Search Words Data Structure211Medium
14Word Search II212Hard

Heap

#ProblemLeetCodeDifficulty
1Merge k Sorted Lists23Hard
2Top K Frequent Elements347Medium
3Find Median from Data Stream295Hard

Merge k Sorted Lists appears in both the Linked List and Heap groups; it counts once.

After the Blind 75