Re:Find the Bug in my Fizz Buzz Interview (2:47 video)
by waffle_ss on Thursday January 19, 2012 @12:34PM
(#3485535)
This is my conclusion as well. To wit, an approximate translation of his method into Ruby:
The corrected solution would be to change `result.nil?` to `result.empty?`, i.e. checking for "empty string" instead of "null".
[ Parent
| on HN ]
There are no comments on this comment yet.