In which scenario is Quick Sort generally faster than Merge Sort?

Practice Questions

1 question
Q1
In which scenario is Quick Sort generally faster than Merge Sort?
  1. When the array is small
  2. When the array is large
  3. When the array is nearly sorted
  4. When the array is reverse sorted

Questions & Step-by-step Solutions

1 item
Q
Q: In which scenario is Quick Sort generally faster than Merge Sort?
Solution: Quick Sort is generally faster than Merge Sort when the array is nearly sorted.
Steps: 0

Related Questions

Soulshift Feedback ×

On a scale of 0–10, how likely are you to recommend The Soulshift Academy?

Not likely Very likely