XYZ interview question

Ibps pattern