Software Engineer Front End Interview Questions

852 software engineer front end 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.

Given two strings of words create an algorithm to return all the words that occur in only one of the two strings. A word can be in one string many times and still pass as long as it's not in the other.
Apr 21, 2015

Given two strings of words create an algorithm to return all the words that occur in only one of the two strings. A word can be in one string many times and still pass as long as it's not in the other.

Create a basic implementation of a streams API. The user should be able to push values to a stream, and subscribe to values that are pushed to that stream. For example, const z = new Stream(); z.subscribe((value) => console.log(value)); z.subscribe((value) => console.log(value * 2)); z.subscribe((value) => console.log(value * 3)); z.push(2); Should return 2 4 6
avatar

Software Engineer - Front End

Interviewed at Atlassian

3.1
Oct 17, 2018

Create a basic implementation of a streams API. The user should be able to push values to a stream, and subscribe to values that are pushed to that stream. For example, const z = new Stream(); z.subscribe((value) => console.log(value)); z.subscribe((value) => console.log(value * 2)); z.subscribe((value) => console.log(value * 3)); z.push(2); Should return 2 4 6

Viewing 11 - 20 interview questions

Glassdoor has 852 interview questions and reports from Software engineer front end interviews. Prepare for your interview. Get hired. Love your job.