Staff Software Engineer Interview Questions

2,548 staff software engineer interview questions shared by candidates

Given the rules for a flag-gathering game and skeleton code, implement a game scoring algorithm. The game had Scottish and Welsh rules, minor variations on scoring. You'll be asked to complete both variations. I was dinged during the technical interview for not listening to the engineers when they offered guidance and a sub-par solution. All tests for both variations passed with plenty of time to spare.
avatar

Staff Software Engineer

Interviewed at OppFi

3.3
Nov 8, 2022

Given the rules for a flag-gathering game and skeleton code, implement a game scoring algorithm. The game had Scottish and Welsh rules, minor variations on scoring. You'll be asked to complete both variations. I was dinged during the technical interview for not listening to the engineers when they offered guidance and a sub-par solution. All tests for both variations passed with plenty of time to spare.

Implement the Luhn algorithm, by taking each digit of a number, from right to left, and doubling every other digit starting with the second digit from the right. If doubling a digit results in a number greater than 9, then the digits of that number are summed together (or equivalently, 9 is subtracted from the result). After this process, all the digits (those doubled and those not) are summed together. If the total sum is a multiple of 10, the number is considered to be valid.
avatar

Staff Software Engineer

Interviewed at Hungryroot

4.2
Mar 31, 2024

Implement the Luhn algorithm, by taking each digit of a number, from right to left, and doubling every other digit starting with the second digit from the right. If doubling a digit results in a number greater than 9, then the digits of that number are summed together (or equivalently, 9 is subtracted from the result). After this process, all the digits (those doubled and those not) are summed together. If the total sum is a multiple of 10, the number is considered to be valid.

Viewing 2231 - 2240 interview questions

Glassdoor has 2,548 interview questions and reports from Staff software engineer interviews. Prepare for your interview. Get hired. Love your job.