Uber interview question

1 coding question around implementing a map