Back to Data Structures & Algorithms

Searching & Sorting

Revisiting classic searching and sorting algorithms with a focus on advanced applications and non-comparison sorts.

1 week

Topics in this Chapter

1

Binary Search

Mastering binary search and its application on the answer space for optimization problems.

2

Search in Rotated Sorted Array

Adapting binary search to find an element in a sorted array that has been rotated.

3

Merge Sort

Understanding the divide-and-conquer strategy of Merge Sort and its stability.

4

Quicksort

Implementing Quicksort, understanding pivot selection, and analyzing its average vs. worst-case performance.

5

Heap Sort

Using a binary heap data structure to perform an O(n log n) in-place sort.

6

Counting/Radix Sort

Exploring non-comparison sorts like Counting Sort and Radix Sort for linear-time sorting.

GeekDost - Roadmaps & Snippets for Developers