This animation shows why erasing an element in a vector is more expensive than in a list. Click the "next step" button to run the animation. Note: in this animation, we assume we are going to erase the element which has the value 5.