Skip to main content
Sort
Tick mark Image
Evaluate
Tick mark Image

Similar Problems from Web Search

Share

2
To sort the list, start from a single element 2.
2,4
Insert 4 to the appropriate location in the new list.
2,4,5
Insert 5 to the appropriate location in the new list.
2,2,4,5
Insert 2 to the appropriate location in the new list.
2,2,4,5,6
Insert 6 to the appropriate location in the new list.
2,2,4,5,6,7
Insert 7 to the appropriate location in the new list.
2,2,4,5,6,7,8
Insert 8 to the appropriate location in the new list.
2,2,4,5,6,7,8,9
Insert 9 to the appropriate location in the new list.