LeetCode Question · Mar 2024

Atlassian first round - rejected

1,349 views 6 replies

Question Details

Asked to implement following class: //implement class to return most popular content ID class MostPopular { void increasePopularity(int contentId); int mostPopular(); void decreasePopularity(int contentId); } I wrote following solution: Basically maintaining id_to_popularity and popularity_to_id maps....

Full Details

🔒

Unlock all Atlassian questions

Full insider details, leaked discussions, and candidate experiences.

or every company, $100/year →

About This Question

This is a reported interview question from a atlassian interview for a swe role reported in 2024.

It covers the following topics: Heap .

Topics