Server Engineer Interview Questions | Glassdoor

Server Engineer Interview Questions

52

Server engineer interview questions shared by candidates

Top Interview Questions

Sort: Relevance Popular 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

Implement a queue using two stacks.

2 Answers

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

2 Answers

How would you implement a top 3 word count in a text editor application?

1 Answer

16 bit number: how to change the bits 0 with 1, 2 with 3 etc..

1 Answer

Write a function that compares two strings and returns a third string containing only the letters that appear in both.

1 Answer

How to found first unrepeated character in the string. “abca” return “b”

1 Answer

What is an adou

1 Answer

Give an object-oriented design for the U.S. highway system.

1 Answer

How do you test the Save/Load functionality in Tap Pet Hotel?

1 Answer
110 of 52 Interview Questions