3 ms·
How do you phrase the question? Because surely people you hired should have been able to answer it using modulus?
by Insanity 9y ago
How do you phrase the question? Because surely people you hired should have been able to answer it using modulus?
- throwaway2016a 9y agoSee my note. I don't ask the question in interviews. I think it is useless, they don't need it for their job. I do ask a variant of fizz buzz that requires using modulus. They don't get hired if they can't answer that one. So this subset of people I'm talking about are ones who do know modulus.
- MarkMMullin 9y agoI ask it sometimes too - my favorite response opened with 'you want maintainability or speed' So I picked speed. They immediately set the first branch at mod 3 with the obvious justification - hired on the spot :-)