Senior Software Developer Interview Questions

98,162 senior software developer interview questions shared by candidates

Code a FizzBuzzRazz test. If it's divisible by 3 print "Fizz" if it's divisible by 5 print "Buzz" if it's divisible by 7 print "Razz" if it's divisible by 3 and 5 print "FizzBuzz" if it's divisible by 3 and 7 print "FizzRazz" if it's divisible by 5 and 7 print "BuzzRazz"
avatar

Senior Software Engineer In Test

Interviewed at Typeform

3.3
Jul 2, 2018

Code a FizzBuzzRazz test. If it's divisible by 3 print "Fizz" if it's divisible by 5 print "Buzz" if it's divisible by 7 print "Razz" if it's divisible by 3 and 5 print "FizzBuzz" if it's divisible by 3 and 7 print "FizzRazz" if it's divisible by 5 and 7 print "BuzzRazz"

Given a chessboard determine if a given black or white piece in a cell is alive / dead. An item is defined alive if it has at least one non-opposite colored or blank neighbor. That was the original question. This is how it morphed over the interview: * The diagonal neighbors don't matter to determine if a piece is alive or dead. * There need not be just 16 pieces of black or white. There can be an arbitrary number of black or white pieces. * If a piece is surrounded by the opposite color in 3 sides, but the 4th side of the same color but is again surrounded by opposite color, then that's still considered dead. (why did you not say this to begin with?!) But it is alive if one of them is blank. * And while calculating the time complexity - she adds, the board can be filled with all black and say one white in the middle or vice versa. How is that a chessboard?! and why are you telling that at minute 45. If we had continued the interview wonder what other additional missing conditions about the problem she would have added that she forgot.
avatar

(Senior) Software Engineer

Interviewed at Google

4.4
May 24, 2019

Given a chessboard determine if a given black or white piece in a cell is alive / dead. An item is defined alive if it has at least one non-opposite colored or blank neighbor. That was the original question. This is how it morphed over the interview: * The diagonal neighbors don't matter to determine if a piece is alive or dead. * There need not be just 16 pieces of black or white. There can be an arbitrary number of black or white pieces. * If a piece is surrounded by the opposite color in 3 sides, but the 4th side of the same color but is again surrounded by opposite color, then that's still considered dead. (why did you not say this to begin with?!) But it is alive if one of them is blank. * And while calculating the time complexity - she adds, the board can be filled with all black and say one white in the middle or vice versa. How is that a chessboard?! and why are you telling that at minute 45. If we had continued the interview wonder what other additional missing conditions about the problem she would have added that she forgot.

Viewing 1031 - 1040 interview questions

Glassdoor has 98,162 interview questions and reports from Senior software developer interviews. Prepare for your interview. Get hired. Love your job.