Leetcode第6题ZigZag,Z 字形变换

今天刷了leetcode第6题,Z字形变换,后来终于解决了。这里附上源码: LinkedList[] list = new LinkedList[numRows]; for (int i = 0; i < numRows; i++) { list[i] = new LinkedList<Character>(); } int length = 0; while (length
相关文章
相关标签/搜索