C++ 0ms Solution, beats 100.00% without  if-else
\nclass Solution {\npublic:\n    vector<string> fizzBuzz(int n) {\n        vector<string> res(n);\n        for(int i = 1;i <= n; i++) {\n            res[i - 1] 
```\nclass Solution {\npublic:\n    vector<string> fizzBuzz(int n) {\n        vector<string> res(n);\n        for(int i = 1;i <= n; i++) {\n            res[i - 1] = to_string(i);\n        }\n        for(int i = 2;i < n; i += 3) {\n            res[i] = "Fizz";\n        }\n        for(int i = 4;i < n; i += 5) {\n            res[i] = "Buzz";\n        }\n        for(int i = 14;i < n; i += 15) {\n            res[i] = "FizzBuzz";\n        }\n        return res;\n    }\n};\n```
[]