Sollicitatievraag bij EPAM Systems

Find problems in a presented code sample and try to refactor it