@@ -0,0 +1,840 @@
+/**%0A *Write a program that outputs the string representation of numbers from 1 to n.%0A *%0A *But for multiples of three it should output %E2%80%9CFizz%E2%80%9D instead of the number and for the multiples of five output %E2%80%9CBuzz%E2%80%9D. For numbers which are multiples of both three and five output %E2%80%9CFizzBuzz%E2%80%9D.%0A */%0Aclass Solution %7B%0A    public List%3CString%3E fizzBuzz(int n) %7B%0A        List%3CString%3E list = new LinkedList%3C%3E();%0A        for (int i = 1; i %3C= n; i++) %7B%0A            if ((i %25 3 == 0) && !(i %25 3 == 0 && i %25 5 == 0))%7B%0A                list.add(%22Fizz%22);%0A            %7D else if ((i %25 5 == 0) && !(i %25 3 == 0 && i %25 5 == 0)) %7B%0A                list.add(%22Buzz%22);%0A            %7D else if (i %25 3 == 0 && i %25 5 == 0) %7B%0A                list.add(%22FizzBuzz%22);%0A            %7D else %7B%0A                list.add(String.valueOf(i));%0A            %7D%0A        %7D%0A        return list;%0A    %7D%0A%7D%0A

Create FizzBuzz.java