Start learning 50% faster. Sign in now
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.
Who was appointed as MD & CEO of Paytm Payments Bank?
What is the primary objective of the MoU signed between REC Limited and Punjab National Bank (PNB)?
Which scheme has been allocated ₹70,125 crore for constructing rural roads?
A ____ days reading programme Padhe Bharat has been launched by union education minister Dharmendra Pradhan for the children from Balvatika to Grade 8 ....
Which of the following initiatives has the Directorate General of Foreign Trade (DGFT) partnered with DHL Express to boost e-commerce exports for MSMEs ...
The central government is going to sell up to 8% stake in IRCON International through an offer for sale (OFS) which will help the government to raise ab...
Vladimir Putin won a historic fifth term as President of Russia. What percentage of the vote did he secure?
Which launch vehicle was used to launch India's first solar observatory mission, Aditya-L1, from the Satish Dhawan Space Centre in Sriharikota?
Recently who won the best director award at New York Film Critics Circle?