All challenges
DSA

Fizz Buzz

easy
20m
#dsa#python#javascript#typescript#go#java#cpp#rust

Return an array of strings for 1..n: "Fizz" for multiples of 3, "Buzz" for multiples of 5, "FizzBuzz" for multiples of both, otherwise the number as a string.

Start challengeSign in to save your progress.