EPAM Systems Interview Question

Java core, OOP questions, a simple algorithm.