AxisRooms interview question

mostly data structure related questions