Data structure to query salaries within a range
Filed under Infoedge
The question
Given many employee salaries stored in a table and a range [s1, s2], design an efficient data structure to return all individuals with salaries within that range.
No write-up yet. Related questions below have one.
Related Infoedge questions
Collected from public candidate posts and coding forums. Updated Nov 2026.