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 data structure and its classification?

963


How do you sort a list in reverse order?

874


For which header list, the last node contains the null pointer?

905


Write a program to reverse a single linked list.

987


What is stable sort?

1064


What is doubly linked list?

959


Is python good for freshers?

1025


Why is hashing used?

910


Which sorting does collections sort use?

948


Which is better bubble sort or selection sort?

884


Define general trees?

1122


When is a binary search best applied?

935


How can we reverse a singly linked list?

1085


How to inverting a function in sort and searching?

1051


“int a[] = new int[3]{1, 2, 3}” – This a legal way of defining the arrays?

1251