Uber Interview Question

Background