intermediate

Recursion, Searching and Sorting

Recursion solves a problem by solving smaller copies of it. Learn base cases and the call stack, memoization, divide and conquer, binary search and merge sort, how to compare their cost with Big-O, and when to use the built-in sort instead. Then implement binary search, merge sort, a recursive flatten and a memoized Fibonacci.

60 min

Recursion, Searching and Sorting

Recursion solves a problem by solving smaller copies of it. Learn base cases and the call stack, memoization, divide and conquer, binary search and merge sort, how to compare their cost with Big-O, and when to use the built-in sort instead. Then implement binary search, merge sort, a recursive flatten and a memoized Fibonacci.

In this lesson:

  • recursion
  • algorithms
  • sorting
  • binary-search
  • memoization
  • big-o
  • python

🔒 This lesson is part of a paid plan

This lesson is part of the Pro plan. Upgrade to unlock the full lesson, the labs and the exam.

Upgrade Now

Official References

This lesson is part of a paid plan

Upgrade to Pro to unlock this course, its labs and its exam.

View Pricing Plans