Insert a number into a continuously sorted stream
Filed under Groupon
The question
Given a stream of numbers, maintain a sorted array and insert each incoming number into its correct sorted position.
No write-up yet. Related questions below have one.
Related Groupon questions
Collected from public candidate posts and coding forums. Updated Nov 2026.