En-Jui K. answered 11/12/20
Solve your problem
a Selection sort:
[1, 5, 4, 3, 2]
[1, 2, 4, 3, 5]
[1, 2, 3, 4, 5]
[1, 2, 3, 4, 5]
[1, 2, 3, 4, 5]
b. insertion sort.
[3,5,4,1,2]
[3,5,4,1,2]
[3, 4, 5, 1, 2]
[1, 3, 4, 5, 2]]
[1,2,3,4,5]
Og N.
asked 11/11/20Sort the list(3,5,4,1,2) using
a. selection sort,
b. insertion sort.
En-Jui K. answered 11/12/20
Solve your problem
a Selection sort:
[1, 5, 4, 3, 2]
[1, 2, 4, 3, 5]
[1, 2, 3, 4, 5]
[1, 2, 3, 4, 5]
[1, 2, 3, 4, 5]
b. insertion sort.
[3,5,4,1,2]
[3,5,4,1,2]
[3, 4, 5, 1, 2]
[1, 3, 4, 5, 2]]
[1,2,3,4,5]
Get a free answer to a quick problem.
Most questions answered within 4 hours.
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.