Xoriant interview question

Aptitude round