Cloze

‹ Quests

The Blind 75

The classic interview list, one stage at a time.

Seventy-five problems in ten chapters, from arrays to heaps. Each stage has three trials: recall the key lines, rebuild a loop or a block, then write the whole function with a safety net.

Sign in to keep your stars

Chapter 1

Arrays

Hash maps, prefix products and the first habits of a careful solver.

10 of 10 stages written

  1. 1 Two Sum Hash map Ready
  2. 2 Best Time to Buy and Sell Stock One pass Ready
  3. 3 Contains Duplicate Hash set Ready
  4. 4 Product of Array Except Self Prefix and suffix products Ready
  5. 5 Maximum Subarray Running best Ready
  6. 6 Maximum Product Subarray Running best and worst Ready
  7. 7 Find Minimum in Rotated Sorted Array Binary search Ready
  8. 8 Search in Rotated Sorted Array Binary search Ready
  9. 9 3Sum Sort and two pointers Ready
  10. 10 Container With Most Water Two pointers Ready

Chapter 2

Binary

Bits: counting, flipping and adding without a plus.

0 of 5 stages written

Chapter 3

Dynamic programming

Break a problem into smaller ones you have already solved.

0 of 11 stages written

Chapter 4

Graphs

Search a world of connected things: islands, courses, clones.

0 of 8 stages written

Chapter 5

Intervals

Ranges on a line: merge them, insert into them, schedule around them.

0 of 5 stages written

Chapter 6

Linked lists

Pointers you rewire by hand.

1 of 6 stages written

  1. 40 Reverse Linked List Linked list Ready

Chapter 7

Matrices

Grids: walk them, rotate them, search them.

0 of 4 stages written

Chapter 8

Strings

Windows, anagrams, brackets and palindromes.

1 of 10 stages written

  1. 55 Valid Parentheses Stack Ready

Chapter 9

Trees

Recursion on branching shapes, and search trees.

0 of 14 stages written

Chapter 10

Heaps

Always know the smallest, largest or middle.

0 of 3 stages written