EY interview question

basic data structure questions