Sponsored
Sponsored
Use these hints if you're stuck. Try solving on your own first.
How can we keep track of the videoId’s of removed videos?
When you remove a video, keep track of its videoId in an array called usedId. When a new video is uploaded, first check if usedId contains any elements, if it does, use the smallest value in usedId.