Fizz, Fizz, Fizz Fizz Buzz
So there’s this thing called FizzBuzz, where if you’re an actual programmer you need not worry and can skip this entire thing. However, for some … less fortunate individuals, you can come up with all kinds of crazy theories for how to get a program to output fizz if a number is divizable (see what I did there) by 3, buzz if its divisible by 5, or fizzbuzz if it is both divisible by 3 and 5.
Here’s one such example that Teddy had the pleasure of showing me: http://thedailywtf.com/articles/The-Fizz-Buzz-from-Outer-Space
Of course, when prepping for actual interviews, one must be much more wary of questions regarding computation times, and how to get more and more efficient programs. Heck, even the first question regarding interfaces and abstract classes took me for a slight loop, as I completely forget when the last time I actually used any virtual functions for anything.
Did I learn anything? Sure, I thought I was an incompetent coder, but some people just don’t know how to code.