XYZ interview question

only aptitude test was there.