← Atlassian questions

Design a YouTube-like channel popularity tracker

Filed under Atlassian

The question

Design an in-memory system that tracks the popularity of channels. The popularity increases upon receiving likes or comments and decreases upon receiving dislikes. Implement operations to update popularity and return the channel with the maximum popularity in O(1) time complexity.

No write-up yet. Related questions below have one.

Related Atlassian questions

Collected from public candidate posts and coding forums. Updated Nov 2026.