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

Similar Problems from Web Search

Share

sort(5,36,71+18,12+3,5,6)
Add 30 and 6 to get 36.
sort(5,36,89,12+3,5,6)
Add 71 and 18 to get 89.
sort(5,36,89,15,5,6)
Add 12 and 3 to get 15.
5
To sort the list, start from a single element 5.
5,36
Insert 36 to the appropriate location in the new list.
5,36,89
Insert 89 to the appropriate location in the new list.
5,15,36,89
Insert 15 to the appropriate location in the new list.
5,5,15,36,89
Insert 5 to the appropriate location in the new list.
5,5,6,15,36,89
Insert 6 to the appropriate location in the new list.