Schneider interview question

Basic data structure questions