Answer:
- Loop through the list
- pop each item in the list
- unshift the popped items to the same list
- print the new list.
Step-by-step explanation:
The algorithm above can be replaced with the reverse method in JavaScript and Python like,
My_list.reverse()