Domanda di colloquio di Twilio

FizzBuzz

Risposte di colloquio

Anonimo

7 ago 2015

I wrote FizzBuzz

1

Anonimo

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.