List push_front

This animation shows how the push_front() method works in List. Click the "next step" button to run the animation. Note: In this animation, we only consider the general case where the list is not empty. Also, we assume value is 4.