appacademy / prep-work

preparatory material for interviewing with App Academy
291 stars 339 forks source link

removed unnecessary if check #11

Closed sayshay closed 11 years ago

sayshay commented 11 years ago

I have changed solution to wonky_coins: there was an extra if check, I removed it because generic recursion will reach base case and return the correct answer anyway. I tested it with specs

ruggeri commented 11 years ago

Thanks, this simplifies the solution :-)