Sorting Algorithms
📖 Introduction
📊 Sorting Overview
Comparison-Based vs Non-Comparison
Key Properties
Property
Description
Algorithm Comparison
Algorithm
Best
Average
Worst
Space
Stable
🐢 Simple Sorts O(n²)
Bubble Sort
Selection Sort
Insertion Sort
⚡ Efficient Sorts O(n log n)
Merge Sort
Quick Sort
Heap Sort
🚀 Linear Time Sorts O(n)
Counting Sort
Radix Sort
Bucket Sort
🐍 Python's Timsort
Timsort Characteristics
📊 Sorting Problems
Sort Colors (Dutch National Flag)
Merge Intervals
Largest Number
Kth Largest Element (QuickSelect)
📝 Practice Exercises
Exercise 1: Sort an Array
Exercise 2: Meeting Rooms II
Exercise 3: Relative Sort Array
🔑 Key Takeaways
🚀 What's Next?
📚 References
Last updated