DFS on HTML nodes
Software Engineer Front End Interview Questions
13,458 software engineer front end interview questions shared by candidates
Asked me to write a throttle function in javascript. Well, essentially...he wanted me to write a function that would call another function, but not if it had been called within a certain set time, which is essentially what a throttle function is. I completely flailed, but it's a useful function to have...probably why they put it in the underscore library which is what I based this answer on.
Given a string, return the number of each character appears in the string, example: //AAsssRRggggDAA ====> A2s3R2g4D1A2 //AAAAAbbbA =====> A5b3A1 //ABA =====> A1B1A1
A series of tests where made based on my LinkedIn profile. Included Javascript, CSS, jQuery, SQL, English, Logic (IQ)
Does CSS works ltr or rtl?
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.
technique interview
by phone: what is a difference between Object and Array, call and apply, what is DOM structure, what is time complexity of traversing through the DOM, other very basic questions. online interview: first question is about data structure, given two arrays, one of them is a map to another, you need to traverse and exclude from array objects according to the map, in general they expect from you to build an map object from key+value but you have to use ES6 MAP where key can be stored as object and not as string or ASCII coded string. The second question was about setTimeout browser api, you will be asked to clean all timeouts, the answer is to override setTimeout and store all of them in stuck and clean them if needed.
What this is in JavaScript
Viewing 61 - 70 interview questions