EPAM Systems Interview Question

Comparing two lists of objects