3 ms·
Nearly ten years ago I was asked FizzBuzz over the phone. As in: program it by talking. I'm 90% sure I got it correct, but I believe the interviewer didn't un
by d23 4y ago
Nearly ten years ago I was asked FizzBuzz over the phone. As in: program it by talking. I'm 90% sure I got it correct, but I believe the interviewer didn't understand the logic of negation on a zero modulus result and I didn't pass. It worked well as a filter for me for that company. Coincidentally, they're on the front page right now for layoffs.
So be careful with this kind of stuff. You may not be filtering what you think you are.
- Kranar 4y agoCan you explain what you mean by "the logic of negation on a zero modulus result"? That sounds like a mouthful, does it just mean that the interviewer didn't know that "!(x % 2)" is the same as "x % 2 == 0"?
- d23 4y agoYeah something like that. I probably misworded it and my memory is fuzzy after such a long time.