Problem: Given a list of items, sort the list. Recipe: To resolve this, we will use bubble sort to demonstrate. Approach: > Starting with first element(index=0), compare the current item to next item
> If current item is greater than next item, swap the places.
> If current item is less than next item, move to the next item Graphical Representation: