Eternus Solutions interview question

Data structures