Frontend Engineer Interview Questions

12,721 frontend engineer interview questions shared by candidates

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 751 - 760 interview questions

See Interview Questions for Similar Jobs

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