Senior Front End Engineer Interview Questions

2,000 senior front end engineer interview questions shared by candidates

1. Recursive and non recursive way to flatten a nested array. 2. Write program to deep copy an array containing strings, numbers, arrays, and object. 3. Write program to find common elements between 3 arrays. Modify the function such that space complexity is reduced.
avatar

Senior Front End Engineer

Interviewed at OpenGov

3.3
Oct 7, 2016

1. Recursive and non recursive way to flatten a nested array. 2. Write program to deep copy an array containing strings, numbers, arrays, and object. 3. Write program to find common elements between 3 arrays. Modify the function such that space complexity is reduced.

Was given a function q(func) which accepts another function as input. Each time this function is called, it will execute the pass in function after 3 seconds. So, if it is called 3 times, q(func); q(func); q(func); the func passed inside will only get called after 3 seconds and the second one will get called only after the first one completes and so on.
May 10, 2016

Was given a function q(func) which accepts another function as input. Each time this function is called, it will execute the pass in function after 3 seconds. So, if it is called 3 times, q(func); q(func); q(func); the func passed inside will only get called after 3 seconds and the second one will get called only after the first one completes and so on.

Viewing 211 - 220 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 2,000 interview questions and reports from Senior front end engineer interviews. Prepare for your interview. Get hired. Love your job.