Coforge interview question

focussed on data structures algorithms