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 / sathya

Insertion sort works with an efficiency of O(n) if the array
is already sorted. Hence, this algo can be used.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a map programming?

878


Define right-in threaded tree?

901


Is arraylist synchronized?

919


If you are using c language to implement the heterogeneous linked list, what pointer type should be used?

1009


How will you sort the elements of array in descending order?

900


What are types of Collision Resolution Techniques and the methods used in each of the types?

1021


Define articulation point?

1082


How would you check if a binary tree is BST or not ? Write a program.

854


What is array define its types?

880


What do you mean by sorting data?

827


Are data structures important?

882


What is meant by deque?

857


Can we put null key in hashmap?

842


What is binary search in data structure?

840


What is the best data structure and algorithm to implement cache?

909