Web Development Engineer Interview Questions

93 web development engineer interview questions shared by candidates

Always print the third unique number of a sequence. The list of unique numbers can hold up to 4 elements, if it gets more, it haves to discard the oldest number. Examples: Input: 1, 1, 2, 3, 3, 4, 6 Answer: null, null null 3 3 3 4 4
avatar

Web Development Engineer

Interviewed at Amazon

3.5
Oct 23, 2017

Always print the third unique number of a sequence. The list of unique numbers can hold up to 4 elements, if it gets more, it haves to discard the oldest number. Examples: Input: 1, 1, 2, 3, 3, 4, 6 Answer: null, null null 3 3 3 4 4

1)write a plugin like query on the paper 2)write a data structure queue program in javascript on the paper 3)given 2 objects var obj1 = { name: "abc"; }; var obj2 = { age: 25 }; do the interitance; 4)lets have ()[]{} pattern should have open and close inorder; example a{abc()}[]//write a funtion to return true; example a{a[bc}//write a funtion to return false; 5)function Test(){ for(var i=0; i<10;i++){ setTimeout[function(){ console.log(i); },0); } } Test(); //I have told the answer (i.e will display 10 in 10 times) But they have asked me to print the 1 to 10 with same code 5) add(2)(5)(3);//output should be 10
avatar

Web Development Engineer

Interviewed at Amazon

3.5
Apr 9, 2017

1)write a plugin like query on the paper 2)write a data structure queue program in javascript on the paper 3)given 2 objects var obj1 = { name: "abc"; }; var obj2 = { age: 25 }; do the interitance; 4)lets have ()[]{} pattern should have open and close inorder; example a{abc()}[]//write a funtion to return true; example a{a[bc}//write a funtion to return false; 5)function Test(){ for(var i=0; i<10;i++){ setTimeout[function(){ console.log(i); },0); } } Test(); //I have told the answer (i.e will display 10 in 10 times) But they have asked me to print the 1 to 10 with same code 5) add(2)(5)(3);//output should be 10

Viewing 21 - 30 interview questions

Glassdoor has 93 interview questions and reports from Web development engineer interviews. Prepare for your interview. Get hired. Love your job.