What is insertion sort technique?



What is insertion sort technique?..

Answer / Ankush Kumar Chauhan

The Insertion Sort technique is a simple sorting algorithm that builds the final sorted array one element at a time. It works by repeatedly taking an element from the unsorted portion of the list and inserting it into its correct position in the sorted part of the list.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

What are the applications of linked list?

1 Answers  


Which is the simplest file structure?

1 Answers  


What is a string or array type?

1 Answers  


How do you sort an array in descending order?

1 Answers  


Tell us the difference between merge and quick sort. Which one would you prefer and why?

1 Answers   Agilent, ZS Associates,


Can we define the size of arraylist?

1 Answers  


Why set will not allow duplicates?

1 Answers  


How does a hashtable work?

1 Answers  


Why is hashset used?

1 Answers  


Does linked list allow null values?

1 Answers  


Which is better hashset or treeset?

1 Answers  


Define an algorithm. What are the properties of an algorithm?

1 Answers  


Categories