What is the best sorting algorithm, when there is a large
amount of data, that cannot be fit in the main memory. ?



What is the best sorting algorithm, when there is a large amount of data, that cannot be fit in the..

Answer / pritam

Merge sort is a best way to sort a large amount of data that cannot fit is memory. It is an external sorting algorithm i.e
sorting algorithm to be used when elements to be sorted do not fit in memory.

ANALYSIS :
best case,worse case and average case performance of
" O(n logn) "
and space complexity of O(n) (auxiliary)

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More C++ General Interview Questions

What is the header file for setw?

0 Answers  


Explain what are the sizes and ranges of the basic c++ data types?

0 Answers  


What is ofstream c++?

0 Answers  


Can you pass an array to a function in c++?

0 Answers  


Implement a 2 dimensional array by one dimentional array

1 Answers   CTS,






List out function which we can call without using object

1 Answers  


Write a program which employs Recursion

0 Answers  


What is == in programming?

0 Answers  


why we cant create array of refrences

4 Answers  


What is a singleton class c++?

0 Answers  


List out some of the object-oriented methodologies?

1 Answers  


How do we implement inheritance in c++?

0 Answers  


Categories