EPAM Systems Interview Question

Short programs involving collection traversals