Front End Developer Interview Questions

12,571 front end developer interview questions shared by candidates

Given a singly linked list (a list which can only be traversed in one direction), find the item that is located at 'k' items from the end. So if the list is a, b, c, d and k is 2 then the answer is 'c'. The solution should not search the list twice.
avatar

Front End Software Engineer

Interviewed at Palantir Technologies

3.7
Jan 26, 2012

Given a singly linked list (a list which can only be traversed in one direction), find the item that is located at 'k' items from the end. So if the list is a, b, c, d and k is 2 then the answer is 'c'. The solution should not search the list twice.

Viewing 91 - 100 interview questions

Glassdoor has 12,571 interview questions and reports from Front end developer interviews. Prepare for your interview. Get hired. Love your job.