Build your intuition. Click the correct answer from the options.
Which of the following statements is true regarding the time complexity of QuickSort and MergeSort?
Click the option that best answers the question.
- QuickSort has a consistent time complexity of O(n log n) in all scenarios
- MergeSort has a time complexity of O(n^2) in the worst-case scenario
- QuickSort is generally faster than MergeSort in all scenarios
- MergeSort has a time complexity of O(n) in the average case scenario