Software Engineer Sr Interview Questions

67,436 software engineer sr interview questions shared by candidates

Write Fizz-Buzz in C++. Now make all the stupid constant-time optimizations you can think of to it. Formally: given an int, return “fizz” if it’s a multiple of 3, “buzz” if it’s a multiple of 5, or “fizz buzz” if it’s a multiple of both. It it isn’t a multiple of 3 or 5, return “”. Then find stupid ways to over-optimize it, such as using no if-statements.
avatar

Senior Software Engineer

Interviewed at Synopsys

3.7
Aug 17, 2019

Write Fizz-Buzz in C++. Now make all the stupid constant-time optimizations you can think of to it. Formally: given an int, return “fizz” if it’s a multiple of 3, “buzz” if it’s a multiple of 5, or “fizz buzz” if it’s a multiple of both. It it isn’t a multiple of 3 or 5, return “”. Then find stupid ways to over-optimize it, such as using no if-statements.

Viewing 2551 - 2560 interview questions

Glassdoor has 67,436 interview questions and reports from Software engineer sr interviews. Prepare for your interview. Get hired. Love your job.