Leetcode 2254. Design Video Sharing Platform
Implement a class that simulates a video-sharing platform with operations like uploading/deleting videos, watching/liking/commenting, subscribing/blocking users, and querying for things like trending or recommended videos. The core challenge is maintaining and updating multiple indexes (views, likes, subscriptions, blocks, timestamps) so queries (top-k, per-user feeds/ recommendations) remain efficient under frequent updates.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
0
Hello Interview Premium
Your account is free and you can post anonymously if you choose.