I first heard about FizzBuzz from Hackruiter.com and then I got an email from RapLeaf (<a href="http://blog.rapleaf.com/dev/2011/09/06/code-golfing-at-the-office" rel="nofollow">http://blog.rapleaf.com/dev/2011/09/06/code-golfing-at-the-o...</a>)<p>It's a very interesting concept to filter out the bad programmers using something simple like FizzBuzz. What do you guys like to give out as programming or interview questions? How effective are they?
the shortest I could do is 72 characters in PHP. I have no idea how they can do 56.<p><pre><code> <? while(++$i<101)echo $i%15?$i%5?$i%3?$i:'Fizz':'Buzz':'FizzBuzz',"\n";</code></pre>