Web application engineer Interview Questions | Glassdoor

Web application engineer Interview Questions


web application engineer interview questions shared by candidates

Top Interview Questions

Sort: RelevancePopular Date

How to discover if the given number is Power of 2 ?

4 Answers

10=2 100=4 1000=8… Caught the thing .. he didn't like my implementation. don't be nervous!

return (( x!=0) && (x & (x -1) == 0)) a number which is power of two will have single 1 in binary representation ex. 16 00010000 x-1 will have pattern 00001111 hence x&(x-1) will always be 0 for power of two numbers. Need to check condition for x!=0 since 0 is not a power of two. Special case to handle.

if you can figure this out inside an hour, congratulations this isnt something that should be in an interview to be honest the level of difficulty of the answer that algo came up with is at the level of an upper division course that has a proof of it written in wikipedia i honestly like the brute force solution

What is different between a and b function foo() { a = 4; var b = 5; }

3 Answers

One or more comments have been removed.
Please see our Community Guidelines or Terms of Service for more information.

Binary tree , left node has smallest value . Print 5 10 20 25 and then “count of nodes=4”…

2 Answers

They had me describe how I would build the beta invitation system they have on their website.

2 Answers

Why did you leave your previous role?

2 Answers

Convert "1234" to 1234 without using any inbuilt method

2 Answers

They pressed for more detail on another project I mentioned, but they didn't ask any tough questions.

1 Answer

Write the function to implement fibonacci Number. F(n) = F(n-1) + F(n-2) base case: F(0) = 0; F(1) = 1;

1 Answer

Difference between "==" and "===" in a JavaScript program.

1 Answer

Are you fine with programming in just Perl for the back-end?

1 Answer
110 of 232 Interview Questions