Simple One-liner
Intuition\nEvaluate against a value in a range of number from 1 to n.\n\n# Approach\nSimple one line map on range 1 ... n and evaluate if each value is a multip
# Intuition\nEvaluate against a value in a range of number from 1 to n.\n\n# Approach\nSimple one line map on range 1 ... n and evaluate if each value is a multiple of 15, 3, or 5 returning "FizzBuzz", "Fizz", "Buzz", or the number as a string.\n\n# Complexity\n- Time complexity:\nO(n)\n\n- Space complexity:\nO(1)\n\n# Code\n```\nclass Solution {\n    func fizzBuzz(_ n: Int) -> [String] {\n        (1...n).map { $0.isMultiple(of: 15) ? "FizzBuzz" : $0.isMultiple(of: 3) ? "Fizz" : $0.isMultiple(of: 5) ? "Buzz" : "\\($0)" }\n    }\n}\n```
['Swift']