Learning path

Algorithms in C/C++

Searching, sorting, recursion and bit tricks, implemented side by side in C and C++.

7 lessons · 9 challenges

Start the path →
  1. Lesson 1 challenge Linear Search Find a target in unsorted data.
  2. Lesson 1 challenge Binary Search Search sorted data in logarithmic time.
  3. Lesson 1 challenge Bubble Sort Sort by repeatedly swapping adjacent inversions.
  4. Lesson 1 challenge Quick Sort Partition values around a pivot.
  5. Lesson 1 challenge Merge Sort Use divide and conquer for predictable O(n log n) sorting.
  6. Lesson 2 challenges Recursion and the Call Stack Solve a problem by reducing it to a smaller instance.
  7. Lesson 2 challenges Bit Manipulation Set, clear, toggle, and test individual flags.