摘要: class Solution { public List fizzBuzz(int n) { List list = new ArrayList(); for(int i = 1;i <= n;i++){ if(i % 3 == 0 && i % 5 == 0){ list.add("FizzBuzz... 阅读全文