Question DSA-SORT-0024
EasyWhich sorting algorithm chooses a pivot and partitions the array around it?
- A.
Radix sort
- B.
Quick sort
- C.
Show answer and explanation
Answer: B
Smaller elements go to one side of the pivot and larger ones to the other.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Sorting question
Which sorting algorithm chooses a pivot and partitions the array around it?
Radix sort
Quick sort
Answer: B
Smaller elements go to one side of the pivot and larger ones to the other.
Insertion sort
Merge sort