Xoriant interview question

Oops concepts, data structures and algorithms