Find top three most popular shops based on visitor ranges
Filed under Vivriti Capital
The question
Given N shops and M persons visiting shops in ranges [L, R], determine the positions of the three most popular shops visited by the most people, ordered by increasing position in case of ties.
No write-up yet. Related questions below have one.
Related Vivriti Capital questions
Collected from public candidate posts and coding forums. Updated Nov 2026.