Uber Interview Question

1 coding question around implementing a map