2 ms·
Unless you were interviewing for a mathematician position, I agree that's a garbage programming interviewing question. It's focused on your math skills far more
by BurningFrog 8y ago
Unless you were interviewing for a mathematician position, I agree that's a garbage programming interviewing question. It's focused on your math skills far more than your programming skills.
If it's a "brainteaser" is I guess a matter of definition.
Look, I'm sure people are asked bad questions at all times in all companies, but the policy at Google was clearly to not do that. At least when I was there 2006-2009.