Which of the following is true about the time complexity of Merge Sort?
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.
Below are given some sentences (1), (2), (3), (4) and (5). All the sentences represent the same idea expressed in different ways. You have to choose th...
Select the CORRECTLY spelt word.
Four words are given, out of which only one word is spelt correctly. Choose the correctly spelt word and click the button corresponding to it.
Below are given three sentences with one common word in each. Choose the sentence that incorrectly uses the word.
     i. Â...
We do our first delivery in organic cotton bags, who they encourage subscribers to reuse.
...Since the lockdown was imposed in the last week of March, (A) the government has got cracking on pending reforms (B) packages to encourage manufacturing...
Select the most appropriate option to substitute the highlighted segment in the given sentence. If there is no need to substitute it, select ‘No subs...
I. Back in my salad days my friends and me used to go dancing every Saturday night.
II. It is best to give than to receive anything from anyon...
Out of the statements given below, one statement may be grammatically and contextually correct. Choose the correct statement as your answer. If all the ...
For decades, scientists believed the Moon formed from debris as a collision between a young Earth and another celestial object.