Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In my book, that's a pass, but you should have a discussion where you walk through the code and ask the interviewee what happens when i is 15, and hopefully they'll spot the problem, maybe with a little bit of nudging.

But the main point of Fizzbuzz is that some people who call themselves programmers are incapable of producing a loop, some conditionals, and some print statements. Your solution had that, which is why you passed it. The point is to find the people who can't even get that part right.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: