@@ -0,0 +1,1283 @@
+package leetcode;%0A%0Aimport java.util.Iterator;%0Aimport java.util.List;%0A%0A/**%0A * @author fredy%0A */%0Apublic class Problem341 %7B%0A    public interface NestedInteger %7B%0A        // @return true if this NestedInteger holds a single integer, rather than a nested list.%0A        public boolean isInteger();%0A%0A        // @return the single integer that this NestedInteger holds, if it holds a single integer%0A        // Return null if this NestedInteger holds a nested list%0A        public Integer getInteger();%0A%0A        // @return the nested list that this NestedInteger holds, if it holds a nested list%0A        // Return null if this NestedInteger holds a single integer%0A        public List%3CNestedInteger%3E getList();%0A    %7D%0A%0A    public static class NestedIterator implements Iterator%3CInteger%3E %7B%0A        public NestedIterator(List%3CNestedInteger%3E nestedList) %7B%0A            // TODO%0A        %7D%0A%0A        @Override%0A        public Integer next() %7B%0A            // TODO:%0A            return null;%0A        %7D%0A%0A        @Override%0A        public boolean hasNext() %7B%0A            // TODO:%0A            return false;%0A        %7D%0A    %7D%0A%0A    public static void main(String%5B%5D args) %7B%0A        NestedIterator i = new NestedIterator(null);%0A        while (i.hasNext()) %7B%0A            System.out.println(i.next());%0A        %7D%0A    %7D%0A%7D%0A

Create a skeleton for problem 341