Uber Interview Question

Data structures and algorithms (basic)