Sorting Algorithms

Quick, merge, heap, counting, radix; time/space tradeoffs.

Log in to read this chapter

This chapter is part of GATE Computer Science. Log in to continue reading the full lessons, notes and practice.

What you'll learn in this chapter

Comparison sorts
Comparison-Based Sorting Fundamentals
Non-comparison sorts
Merge Sort and Divide-and-Conquer
Quick Sort and Partitioning
Heap Sort and Linear-Time Sorting