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

Similar Problems from Web Search

Share

2
To find the maximum of 2, first put the numbers in order from least to greatest. This set is already in order.
sort(2,4,1)
The maximum is 2, the rightmost value in the set ordered from least to greatest.
2
To sort the list, start from a single element 2.
2,4
Insert 4 to the appropriate location in the new list.
1,2,4
Insert 1 to the appropriate location in the new list.