Directi interview question

Various Data Structures