Seera interview question

simple oop, data structure