Philips interview question

the interview is easy. basics of data structures.