Binary Search Algorithm
A walkthrough of binary search with both iterative and recursive implementations, plus why it's O(log n).
January 5, 2023
8 posts
A walkthrough of binary search with both iterative and recursive implementations, plus why it's O(log n).
January 5, 2023
How to use the Master's Theorem to figure out the time complexity of divide-and-conquer algorithms like merge sort.
January 5, 2023
The math behind figuring out time complexity for recursive algorithms using recurrence relations.
January 5, 2023
How heaps work, why they're useful for priority queues, and how to implement heap sort.
January 5, 2023
Common data structures and the problems they solve.
November 26, 2022
My notes on algorithms and data structures, from Big O basics to heaps and sorting.
October 4, 2022
What Big O notation actually means, how to compare algorithm efficiency, and the difference between O, Theta, and Omega.
August 22, 2022
A structured learning path through data structures and algorithms fundamentals.
July 10, 2022