HCLTech interview question

Datastructures