Daily Challenge
FizzBuzz
2026-09-05 · difficulty: easy
Implement solve(n): return the FizzBuzz sequence for 1 to n as a list of strings, one entry per number — 'Fizz' for multiples of 3, 'Buzz' for multiples of 5, 'FizzBuzz' for multiples of both, otherwise the number itself. Input parsing and output printing are handled for you — the sample below shows the raw test data.
Examples
Example 1
Input
5
Output
1 2 Fizz 4 Buzz
| Rank | Name | Score |
|---|---|---|
| No solves yet — be the first! | ||