eClerx interview question

puzzle type questions