✅Java Simple Solution || ✅Runtime 1ms
Intuition\n Describe your first thoughts on how to solve this problem. \n\n# Approach\n Describe your approach to solving the problem. \n\n# Complexity\n- Time 
# Intuition\n<!-- Describe your first thoughts on how to solve this problem. -->\n\n# Approach\n<!-- Describe your approach to solving the problem. -->\n\n# Complexity\n- Time complexity:\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity:\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```\nclass Solution {\n    public List<String> fizzBuzz(int n) {\n        LinkedList<String> list = new LinkedList<>();\n        for (int i = 1; i <= n; i++)\n        {\n            if (i % 15 == 0)\n                list.add("FizzBuzz");\n            else if (i % 3 == 0)\n                list.add("Fizz");\n            else if (i % 5 == 0)\n                list.add("Buzz");\n            else\n                list.add(String.valueOf(i));\n        }\n        return list;\n    }\n}\n```\n\n## For additional problem-solving solutions, you can explore my repository on GitHub: [GitHub Repository](https://github.com/ahmedna126/java_leetcode_challenges)\n\n\n![abcd1.jpeg](https://assets.leetcode.com/users/images/530000ff-dbd7-4cfe-a9cb-e9f1f2286cfd_1698585777.0779667.jpeg)\n
['Java']