as prateek bhaiya said in selection sort that swapping is an expensive task and here we are doing it many times,
so which one is better selection sort or bubble sort.
Bubble sort or selection sort
@akshat2806
hello akshat,
pls refer this blog -> https://pediaa.com/what-is-the-difference-between-bubble-sort-and-selection-sort/