+ 1

Why do we use Bubble sort in Python ?

Why do we use Bubble sort method to sort list even when there is a built in method to sort lists?

28th Nov 2020, 9:25 AM
Vishal Kumar
1 Answer
+ 1
Different sorting algorithm have different advantages. It is good to now how they work and what there pros and cons are. If you know a view, you can pick the one who suits your data best and don't have to rely on the inbuilt one, which could be inefficient.
28th Nov 2020, 9:57 AM
R3dSt0ne
R3dSt0ne - avatar