Software Engineer Developer Interview Questions

466,396 software engineer developer interview questions shared by candidates

Guessing game - I pick a number between 1 and 100 and you are trying to guess it. Every time you query a number I tell you if it is higher or lower. Part 1- Write the code of it, if cost of querying a number is equal. Part 2- How about if cost of querying number x is x? How would you change the algorithm?
avatar

Software Engineer

Interviewed at Google

4.4
Jan 27, 2014

Guessing game - I pick a number between 1 and 100 and you are trying to guess it. Every time you query a number I tell you if it is higher or lower. Part 1- Write the code of it, if cost of querying a number is equal. Part 2- How about if cost of querying number x is x? How would you change the algorithm?

Viewing 431 - 440 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 466,396 interview questions and reports from Software engineer developer interviews. Prepare for your interview. Get hired. Love your job.