GATEverse Practice, past papers & mock tests
GATE 2024 · session-1
Programming, Data Structures and AlgorithmsQuicksortmediumNAT1 mark
Consider sorting the following array of integers in ascending order using an in-place Quicksort algorithm that uses the last element as the pivot. {60, 70, 80, 90, 100} The minimum number of swaps performed during this Quicksort is:
Save your progress

Related Programming, Data Structures and Algorithms PYQs