Question
Which of the following is true about the time complexity
of Merge Sort?Solution
Correct Option: Merge Sort (C) has a time complexity of O(n log n) in both the best and worst cases due to its divide-and-conquer approach, where the list is recursively split and merged. Why Other Options Are Wrong: A) O(n), O(n^2): Merge Sort does not have a quadratic time complexity in the worst case, nor does it achieve linear time in the best case. B) O(log n), O(log n): This is incorrect as merge sort deals with linear elements and requires O(n log n) time due to both sorting and merging. D) O(n), O(n log n): While some algorithms achieve linear time in the best case, Merge Sort consistently performs at O(n log n). E) O(n^2), O(n^2): This complexity is associated with algorithms like bubble sort in the worst case, not Merge Sort.
In the context of sufi traditions, what is the meaning of the word Sama?
Match the concepts in column A with their respective descriptions in column B.
Imadshahi family was known for the foundation of which state?
What is the increased budget allocation for the Production-Linked Incentive (PLI) scheme for the financial year 2025 in the Interim Budget?
Consider the following statement about "Project UDBHAV":
1. Rajnath Singh inaugurated 'Project Udbhav'.
2. This project has been launched ...
The Men's Junior Hockey Asia Cup 2023, which was won by India, was held at _________.
SPMRM aim to develop _____ rural clusters identified
In NEFT (National Electronic Funds Transfer), how many characters does the Unique Transaction Reference (UTR) number consist of?
Magnus Carlsen is related to which sport?
India and which country have been re-elected as President and Co-President of the International Solar Alliance (ISA)?