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