Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 operator in c++?

0 Answers  


Differentiate between an external iterator and an internal iterator?

0 Answers  


what are difference between c and c++?

9 Answers   Accenture,


How can you create a virtual copy constructor?

0 Answers  


Can non-public members of another instance of the class be retrieved by the method of the same class?

0 Answers  


why can't we declare data member of class auto register or extern

1 Answers  


How do you find out if a linked-list has an end? (I.e. The list is not a cycle)

0 Answers  


In which situation the program terminates before reaching the breakpoint set by the user at the beginning of the mainq method?

0 Answers  


What is setf in c++?

0 Answers  


Is java as fast as c++?

0 Answers  


What is late binding c++?

0 Answers  


What is difference between initialization and assignment?

12 Answers   HCL, HP, Infosys,


Categories