EPAM Systems interview question

Language basics, a bit of live coding using DSA