EPAM Systems Interview Question

First nth element in linked list