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. ?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the uses oof nested class?

1144


Am studying basic c++ programming, have been given the following assignment. Design a linear program to calculate the maximum stress a material can withstand given a force and a diameter of a circle. To find the required area pi should be defined. Have most of the program sorted out but am at a loss as to how to show the calculations required. Can anyone help?

2198


Is it possible for the objects to read and write themselves?

1117


Give an example of run-time polymorphism/virtual functions.

1008


What is the difference between while and do while loop?

1164


What is the difference between a declaration and a definition?

1120


Should the member functions which are made public in the base class be hidden?

1034


What do the header files usually contains?

1055


What does scope resolution operator do?

1118


What are move semantics?

1168


Do the parentheses after the type name make a difference with new?

1093


What is virtual base class?

1084


What is the difference between strcpy() and strncpy()?

1145


What are c++ manipulators?

1080


Is c++ a software?

1203