+ 1

As a time efficiency which sorting algorithm is best for python list amongst selection, bubble , insertion and merge sort ?

26th Mar 2019, 3:47 PM
Pooja More
Pooja More - avatar
2 Antworten
+ 4
You could implement all of them and time them yourself. How big are your lists? If they are super small a simple selection sort is enough. The more entries are in your list the better merge sort is.
26th Mar 2019, 4:14 PM
Dragonxiv
Dragonxiv - avatar
- 1
U Can input all of them
26th Mar 2019, 7:07 PM
Rehan Chavda
Rehan Chavda - avatar