Programming

Get Changed for that Interview!

Posted on

And by “Get Changed”, I mean: “Try to solve these coding challenges that relate to currency and change”. So, open your favorite editor and let’s get started! Part 1: Make Change First, let’s assume that we’ve defined our currency as follows: Coin Value Quarter 25 Dime 10 Nickel 5 Penny 1 Now, write a function […]

Programming

Fizz-Buzz-Wheeze-Cough

Posted on

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 […]