Nextdoor interview question

To implement an array with locations