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

Similar Problems from Web Search

Share

20
To sort the list, start from a single element 20.
10,20
Insert 10 to the appropriate location in the new list.
7,10,20
Insert 7 to the appropriate location in the new list.
7,10,12,20
Insert 12 to the appropriate location in the new list.
7,10,11,12,20
Insert 11 to the appropriate location in the new list.
7,10,11,12,20,20
Insert 20 to the appropriate location in the new list.
7,10,11,12,18,20,20
Insert 18 to the appropriate location in the new list.
5,7,10,11,12,18,20,20
Insert 5 to the appropriate location in the new list.