EPAM Systems Interview Question

n+1 problem