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

Similar Problems from Web Search

Share

5
To sort the list, start from a single element 5.
3,5
Insert 3 to the appropriate location in the new list.
3,5,15
Insert 15 to the appropriate location in the new list.
3,5,15,20
Insert 20 to the appropriate location in the new list.
3,5,15,20,30
Insert 30 to the appropriate location in the new list.
3,5,15,20,30,50
Insert 50 to the appropriate location in the new list.
3,5,15,18,20,30,50
Insert 18 to the appropriate location in the new list.