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

Similar Problems from Web Search

Share

sort(2,150,108,402,153,1,781,537+19,420,16)
Add 107 and 1 to get 108.
sort(2,150,108,402,153,1,781,556,420,16)
Add 537 and 19 to get 556.
2
To sort the list, start from a single element 2.
2,150
Insert 150 to the appropriate location in the new list.
2,108,150
Insert 108 to the appropriate location in the new list.
2,108,150,402
Insert 402 to the appropriate location in the new list.
2,108,150,153,402
Insert 153 to the appropriate location in the new list.
1,2,108,150,153,402
Insert 1 to the appropriate location in the new list.
1,2,108,150,153,402,781
Insert 781 to the appropriate location in the new list.
1,2,108,150,153,402,556,781
Insert 556 to the appropriate location in the new list.
1,2,108,150,153,402,420,556,781
Insert 420 to the appropriate location in the new list.
1,2,16,108,150,153,402,420,556,781
Insert 16 to the appropriate location in the new list.