HCL Technologies interview question

Data structures and algorithms coding