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

Answer Posted / swetha

insertion sort is best one because it takes less time fot sorted array of elements.......

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is non linear data structure with example?

508


Why sorting algorithms are important?

539


Write program for Quick sort ?

600


What are data members?

519


write a program to accept name & sort them?

519






What is a node in it?

549


What is basic data structure?

505


What are the difference between arraylist and linkedlist from the perspective of sorting?

555


What is an algorithm in coding?

425


Why is hashmap faster than treemap?

493


How to reference all the elements in a one-dimension array?

864


How do you assign an address to an element of a pointer array ?

512


State the demerits of linked representation of binary trees?

541


What is array in data structure with example?

482


What is binary search tree and explain its time complexity?

516