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.
1,2
Insert 1 to the appropriate location in the new list.
1,2,7
Insert 7 to the appropriate location in the new list.
0,1,2,7
Insert 0 to the appropriate location in the new list.
0,1,1,2,7
Insert 1 to the appropriate location in the new list.
0,1,1,2,5,7
Insert 5 to the appropriate location in the new list.
0,1,1,2,2,5,7
Insert 2 to the appropriate location in the new list.
0,1,1,2,2,5,7,9
Insert 9 to the appropriate location in the new list.
0,1,1,2,2,5,7,7,9
Insert 7 to the appropriate location in the new list.
0,1,1,2,2,2,5,7,7,9
Insert 2 to the appropriate location in the new list.
0,1,1,2,2,2,5,7,7,8,9
Insert 8 to the appropriate location in the new list.