DFS on HTML nodes
Software Engineer Front End Interview Questions
933 software engineer front end interview questions shared by candidates
Some questions are not that clear . Eg. How can you find all instances of a class. I did not understand that.
Using a nested for() loop is inefficient, can you do it more efficient than the native String.indexOf() method? Without nesting for loops or recursion.
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?
Serialize and deserialize a binary tree.
What is a closure?
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.
How do you make sure you can reduce network calls as much as possible and overall enhance the performance of your app?
String manipulation. Write a jquery method in pure JS. Pragmatic UI.
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