← MakeMyTrip questions

Print unique numbers in a large number stream

Filed under MakeMyTrip

Given a very large stream of numbers containing around a billion items but only about 1000 unique numbers, print the unique numbers with a time complexity less than O(n).

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related MakeMyTrip questions

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