Scala solution
\n  object Solution {\n    def fizzBuzz(n: Int): List[String] = {\n      Range(1, n + 1)\n        .map(number => {\n          (number % 3 == 0, number % 5 == 0)
```\n  object Solution {\n    def fizzBuzz(n: Int): List[String] = {\n      Range(1, n + 1)\n        .map(number => {\n          (number % 3 == 0, number % 5 == 0) match {\n            case (true, true) => "FizzBuzz"\n            case (true, _) => "Fizz"\n            case (_, true) => "Buzz"\n            case _ => number.toString\n          }\n        })\n        .toList\n    }\n  }\n```
['Scala']