WeWork interview question

Oop design, with data structures and optimizations