Bubble sort moves large elements above (floating of the bubble) or moves small element below (sinking of the bubble). Please give a bubble sort algorithm that alternately carries out the floating and sinking processes (i.e., bidirectional bubble sort algorithm).
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here