Infosys interview question

Is was based on some more language