Frontend Engineer Interview Questions

13,275 frontend engineer interview questions shared by candidates

Q.If a button hit results in an API hit, and if I hit the button multiple times, how can you do it the angular way to make sure all n-1 requests sent to Server are cancelled and only nth request is send to server? How will you accomplish this? Q. A Puzzle: child1 says "I am a boy". child2 says "I am a girl". Given that atleast 1 is lying, how will you determine who is boy, who is girl? Q.Why is Angular used over JavaScript? Q.Two sorted arrays(no.s) of n, m+n length where m+n one has n empty places. In minimum Time Complexity & Space, obtain the combination sorted into m+n array.
avatar

Software Engineer(Frontend)

Interviewed at Quovantis Technologies

4
Jan 27, 2017

Q.If a button hit results in an API hit, and if I hit the button multiple times, how can you do it the angular way to make sure all n-1 requests sent to Server are cancelled and only nth request is send to server? How will you accomplish this? Q. A Puzzle: child1 says "I am a boy". child2 says "I am a girl". Given that atleast 1 is lying, how will you determine who is boy, who is girl? Q.Why is Angular used over JavaScript? Q.Two sorted arrays(no.s) of n, m+n length where m+n one has n empty places. In minimum Time Complexity & Space, obtain the combination sorted into m+n array.

Online Coding Question: Given an Array of numbers only, use the array sort API to sort it such that : a. The even numbers come to the left of array. b. The odd numbers come to the right of array. c. The groups of even & odd numbers is sorted in increasing order in itself. E.g.: Input : [99,88,77,66,55,44,33,22,11,94,87,2,9,13] Output: [2,22,44,66,88,94,9,11,13,33,55,77,87,99]

Frontend Engineer

Interviewed at Pepo

5
May 5, 2016

Online Coding Question: Given an Array of numbers only, use the array sort API to sort it such that : a. The even numbers come to the left of array. b. The odd numbers come to the right of array. c. The groups of even & odd numbers is sorted in increasing order in itself. E.g.: Input : [99,88,77,66,55,44,33,22,11,94,87,2,9,13] Output: [2,22,44,66,88,94,9,11,13,33,55,77,87,99]

Make a function that loops from 1 to 100 and prints foo if the current number is divisible by 3 and bar if the current number is divisible by 5. If divisible by both, print foobar. If not divisible by any of those, print the number.

Frontend Developer

Interviewed at appstract consulting

3.5
Apr 21, 2017

Make a function that loops from 1 to 100 and prints foo if the current number is divisible by 3 and bar if the current number is divisible by 5. If divisible by both, print foobar. If not divisible by any of those, print the number.

Viewing 771 - 780 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 13,275 interview questions and reports from Frontend engineer interviews. Prepare for your interview. Get hired. Love your job.