1E interview question

Data structures