BuildZoom interview question

Basic data structures questions, I was able to choose my programming language.