upload, check if the Min Heap has available IDs; if so, use the smallest one. Otherwise, use the next incremental ID. Store the video data in the HashMap.remove, add the video ID back to the Min Heap and remove the video data from the HashMap.watch, increment the view count in the HashMap and return the requested video segment.like and dislike, increment the respective counts in the HashMap.getLikesAndDislikes, return the likes and dislikes from the HashMap.getViews, return the view count from the HashMap.