Twilio interview question

FizzBuzz

Interview Answers

Anonymous

7 Aug 2015

I wrote FizzBuzz

1

Anonymous

18 Mar 2016

Fizz is all numbers divisible by only 3 and Buzz is all numbers divisible by only 5, and FizzBuzz is all numbers divisible by both 3 and 5. so for a given range of numbers you need to print the range with Fizz for numbers divisible by 3, Buzz for numbers divisible by 5 and FizzBuzz for both.