CodingReported in a candidate post, Sep 2022
nth recurring recently used number in a stream
Filed under Swiggy
The question
Given a stream of numbers such as [1,1,2,3,2,4] and n=2, find the nth recurring recently used number.
No write-up yet. Related questions below have one.
Related Swiggy questions
Collected from public candidate posts and coding forums. Updated Nov 2026.