EXL Service interview question

Basic programming