EPAM Systems Interview Question

It was combination of linkedlist, sorting, dictionary