FizzBuzz Problem
The FizzBuzz Problem is a common coding problem given during interviews where candidates are asked to write a solution to the problem. The problem states the following:
- An integer divisible by 3 should be labeled “Fizz”
- An integer divisible by 5 should be labeled “Buzz”
- An integer divisible by both 3 and 5 should be labeled “FizzBuzz”
You should try to solve this on your own, before watching my solution: