EPAM Systems interview question

Asked to recite chunks of code…