Software Engineer Front End Interview Questions

933 software engineer front end interview questions shared by candidates

You are given a 5L and a 3L jug. Both jugs are really oddly shaped and don't have any measure markings, so you can only fill the jug up to the top. Given unlimited water, can you somehow make 4L of water from these two jugs?
avatar

Back-end Software Engineer

Interviewed at Grow Technologies

5
Jul 25, 2017

You are given a 5L and a 3L jug. Both jugs are really oddly shaped and don't have any measure markings, so you can only fill the jug up to the top. Given unlimited water, can you somehow make 4L of water from these two jugs?

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.

Viewing 11 - 20 interview questions

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