PHASE 07

๐Ÿช† Recursion, Sorting & Searching

Break problems into smaller copies of themselves, explore every possibility with backtracking, sort in O(n log n), and search in O(log n) โ€” including binary search on the answer.

โฑ๏ธ ~3 hours of lessons ๐Ÿ“š 4 lessons โœ๏ธ 7 exercises Medium
โ–ถ Start this phase

๐ŸŽฏ In this phase you willโ€ฆ

  • Write recursive solutions with clear base cases
  • Generate subsets and permutations with backtracking
  • Explain merge sort and quick sort
  • Apply binary search, including on answers

๐Ÿ“บ Lessons in this playlist

๐Ÿ“ Phase test

Concept questions, pseudocode writing, tracing and debugging โ€” check youโ€™re ready for the next phase.

๐Ÿ’ก Concept check
Which sort guarantees O(n log n) even in the worst case?