Technogise interview question

Data Structures