EPAM Systems Interview Question

About the code made in the second round?