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

A list is ordered from smaller to largest when a sort is
called. Which sort would take the shortest time to execute?

Answer Posted / gautam

heap sort is the correct answer because it requires log(n)
time where n is the number of nodes

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which sorting does collections sort use?

865


When will you use array over arraylist?

932


Define the term “percolate down”?

959


How can you represent a linked list node?

909


How to reverse a linked list iterative algorithm?

878


What is an example of an algorithm?

865


What do you mean by breadth first search (bfs)?

941


Why quicksort is faster than merge sort?

870


Can arraylist be resized?

956


Is treeset synchronized?

794


What is linked list with example?

920


write a program to show the insertion and deletion of an element in an array using the position

846


State the rules to be followed during infix to postfix conversions?

1117


What is time complexity of binary search?

853


Is array static or dynamic?

835