Dynetics Interview Question

Describe how bubble sort works