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

Answer Posted / punit

insertion sort.
all the above answer r wrong.

Is This Answer Correct ?    9 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between stack and queue?

496


Explain how to find 3rd element from end in a linked list in one pass?

492


Which is faster hashmap or concurrenthashmap?

470


What is Storage Structures and File Structures? Can you show their relation? What are the examples of each? Thanks

2064


Write a recursive c function to calculate the height of a binary tree.

505






How many types of data structures are used?

523


What is entryset in hashmap?

451


How can we delete the first node from the singly linked list?

503


What’s the difference between enumeration and iterator interfaces?

516


What are the disadvantages array implementations of linked list?

483


Define Data Structures?

564


Can we create a null as a key for a map collection?

520


What is difference between capacity and size of arraylist?

489


How expression trees are gets represented in data structure?

504


How efficient is bubble sort?

510