Javascript Engineer Interview Questions

1,561 javascript engineer interview questions shared by candidates

small bag is 1kg each and Big bag is 5kg each. given 3 numbers (small bgs,big bagsand goal) . assuming starting with big bag at start calculate and output the number of small bags needed to finish the goal. if there are not enough bags then output '-1'
Jun 20, 2018

small bag is 1kg each and Big bag is 5kg each. given 3 numbers (small bgs,big bagsand goal) . assuming starting with big bag at start calculate and output the number of small bags needed to finish the goal. if there are not enough bags then output '-1'

Given an array of integers, write a function that finds the indices of two elements in the array such that their sum is equal to a given target number. If such a pair exists, return the indices as an array. If there are multiple pairs, return the first pair. If no such pair exists, return null.
avatar

Mid JavaScript Developer

Interviewed at Newfold Digital

3.5
Aug 27, 2024

Given an array of integers, write a function that finds the indices of two elements in the array such that their sum is equal to a given target number. If such a pair exists, return the indices as an array. If there are multiple pairs, return the first pair. If no such pair exists, return null.

The questions that stuck in my head/I enjoyed/made me think: - How could you have simplified aspects of the technical test? - Describe an interesting technical problem you have had to solve and the solution? - What digital product do you admire? - How should product and tech work together to deliver?
avatar

Senior Javascript Engineer

Interviewed at LandTech

4.3
Mar 5, 2020

The questions that stuck in my head/I enjoyed/made me think: - How could you have simplified aspects of the technical test? - Describe an interesting technical problem you have had to solve and the solution? - What digital product do you admire? - How should product and tech work together to deliver?

Viewing 721 - 730 interview questions

Glassdoor has 1,561 interview questions and reports from Javascript engineer interviews. Prepare for your interview. Get hired. Love your job.