EPAM Systems interview question

About the code made in the second round?