Search
⌘K

Leetcode 412. Fizz Buzz

Return a 1-indexed list of strings for numbers 1..n where multiples of 3 are replaced by "Fizz", multiples of 5 by "Buzz", and multiples of both by "FizzBuzz" (otherwise the number as a string).


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Your account is free and you can post anonymously if you choose.