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

How does hashset work internally in java?

704


Is hashset synchronized?

696


State the difference between queues and linked lists?

721


What are the advantages and disadvantages of copyonwritearraylist?

860


Define a relation?

713


What happens when arraylist is full?

675


Given M x N matrix with sorted elements row wise and column wise, find elements?

739


How arraylist increase its size?

654


When ArrayIndexOutOfBoundsException occurs?

858


What is non linear data structure with example?

655


Mention a few applications of linked lists?

687


What are the non linear data structure?

647


What is difference between array and string?

705


What do you mean by hash function?

659


What is the default size of arraylist?

656