Fizz-Buzz-Wheeze-Cough

Posted on 1 CommentPosted in Programming

Are you interviewing a know-it-all who thinks that the fizz-buzz problem is too easy?  Then try giving them the advanced version of the problem: fizz-buzz-wheeze-cough! Rules First, start with the classic (boring) rules: If N is divisible by 3, then print “fizz” If N is divisible by 5, then print “buzz” Otherwise, print N Then, sprinkle in these […]