3 ms·
If I get asked fizzbuzz in an interview then I'm going to drive my interviewer insane with a switch statement. case 0: print "fizzbuzz"; case 1: print 1
by kelukelugames 12y ago
If I get asked fizzbuzz in an interview then I'm going to drive my interviewer insane with a switch statement.
case 0:
print "fizzbuzz";
case 1:
print 1;
case 2:
print 2;
case 3:
print "fizz";
- yandie 12y agoYour solution failed to satisfy the requirements. You need to print the number for 1 and 2.
- kelukelugames 12y agothanks!