Coding problems · by difficulty

20 medium coding problems, solved step by step.

The level most interview rounds are pitched at: problems where the brute force is clear and the work is finding the structure that removes a loop. Each one is solved in 22 languages from brute force to optimal, with code you can run on the page.

0/20 solved
  1. Longest Substring Without Repeating CharactersMedium
  2. Maximum SubarrayMedium
  3. 3SumMedium
  4. Merge IntervalsMedium
  5. Search in Rotated Sorted ArrayMedium
  6. Coin ChangeMedium
  7. Number of IslandsMedium
  8. Kth Largest Element in an ArrayMedium
  9. Group AnagramsMedium
  10. Top K Frequent ElementsMedium
  11. Product of Array Except SelfMedium
  12. Container With Most WaterMedium
  13. Daily TemperaturesMedium
  14. Jump GameMedium
  15. Rotate a MatrixMedium
  16. House RobberMedium
  17. Word BreakMedium
  18. Course ScheduleMedium
  19. Binary Tree Level Order TraversalMedium
  20. Second Highest SalaryMedium