Problems

Every problem

90 problems in three tracks, each ordered from easiest to hardest. Every one has a hint and a full solution. The daily problem works through them one day at a time.

Python

  1. Python 1 Reverse the words Easy
  2. Python 2 FizzBuzz, as a list Easy
  3. Python 3 Sum of the digits Easy
  4. Python 4 Running total Easy
  5. Python 5 Capitalise each word Easy
  6. Python 6 Real palindromes Easy
  7. Python 7 Is it an anagram? Easy
  8. Python 8 Most common character Easy
  9. Python 9 Count the words Easy
  10. Python 10 Remove duplicates, keep order Easy
  11. Python 11 Transpose a matrix Easy
  12. Python 12 Fast Fibonacci Easy
  13. Python 13 Rotate a list Easy
  14. Python 14 Chunk a list Medium
  15. Python 15 Flatten a nested list Medium
  16. Python 16 The default argument trap Medium
  17. Python 17 The copied grid Medium
  18. Python 18 Run-length encoding Medium
  19. Python 19 Caesar cipher Medium
  20. Python 20 Invert a dictionary Medium
  21. Python 21 Removing while looping Medium
  22. Python 22 Late-binding lambdas Medium
  23. Python 23 Sieve of Eratosthenes Medium
  24. Python 24 Roman numerals Medium
  25. Python 25 Write a memoize decorator Hard
  26. Python 26 Flatten a dictionary Hard
  27. Python 27 All subsets Hard
  28. Python 28 Spiral order Hard
  29. Python 29 Permutations by hand Hard
  30. Python 30 Round robin Hard

Logic

  1. Logic 1 Binary to decimal and back Easy
  2. Logic 2 Handshakes Easy
  3. Logic 3 Fence posts Easy
  4. Logic 4 Bat and ball Easy
  5. Logic 5 Lily pads Easy
  6. Logic 6 Counting in hex Easy
  7. Logic 7 Socks in the dark Easy
  8. Logic 8 Three switches, one bulb Easy
  9. Logic 9 Guess the number Easy
  10. Logic 10 Count the loop Easy
  11. Logic 11 Truth table mystery Easy
  12. Logic 12 Rank the Big-Os Easy
  13. Logic 13 De Morgan's laws Medium
  14. Logic 14 Burning ropes Medium
  15. Logic 15 Water jugs Medium
  16. Logic 16 Knights and knaves Medium
  17. Logic 17 Bit strings with three ones Medium
  18. Logic 18 100 lockers Medium
  19. Logic 19 Two guards, two doors Medium
  20. Logic 20 Counting recursive calls Medium
  21. Logic 21 Monty Hall Medium
  22. Logic 22 Find the heavy ball Medium
  23. Logic 23 Tower of Hanoi Medium
  24. Logic 24 The birthday paradox Medium
  25. Logic 25 The bridge at night Hard
  26. Logic 26 One poisoned bottle Hard
  27. Logic 27 Two eggs, 100 floors Hard
  28. Logic 28 The Josephus problem Hard
  29. Logic 29 25 horses Hard
  30. Logic 30 The hat line Hard

Data structures

  1. Data structures 1 Contains a duplicate Easy
  2. Data structures 2 Two sum Easy
  3. Data structures 3 Intersection of two lists Easy
  4. Data structures 4 The missing number Easy
  5. Data structures 5 Balanced brackets Easy
  6. Data structures 6 First unique character Easy
  7. Data structures 7 Binary search, by hand Easy
  8. Data structures 8 Merge two sorted lists Easy
  9. Data structures 9 Depth of a binary tree Easy
  10. Data structures 10 Middle of a linked list Easy
  11. Data structures 11 Insertion sort Easy
  12. Data structures 12 Best window sum Easy
  13. Data structures 13 Reverse a linked list Medium
  14. Data structures 14 Queue from two stacks Medium
  15. Data structures 15 Does the list loop? Medium
  16. Data structures 16 Group the anagrams Medium
  17. Data structures 17 Top k frequent Medium
  18. Data structures 18 Merge intervals Medium
  19. Data structures 19 Maximum subarray Medium
  20. Data structures 20 Product of everything else Medium
  21. Data structures 21 Min stack Medium
  22. Data structures 22 Level order traversal Medium
  23. Data structures 23 Longest substring without repeats Medium
  24. Data structures 24 Count the islands Medium
  25. Data structures 25 Build a trie Medium
  26. Data structures 26 Validate a binary search tree Hard
  27. Data structures 27 LRU cache Hard
  28. Data structures 28 Course schedule Hard
  29. Data structures 29 Shortest path in a grid Hard
  30. Data structures 30 Dijkstra's algorithm Hard