Concept Flow - Comparison Based vs Non Comparison Based Sorting
Start with unsorted array
Comparison Based
Compare pairs
Swap if needed
Repeat until sorted
Sorted array
Sorting Done
Sorting starts with an unsorted array. If sorting compares elements, it uses comparison-based methods. Otherwise, it uses non-comparison methods like counting or bucketing.
