FIS interview question

Data structures