摘要: 题目:Given a matrix ofmxnelements (mrows,ncolumns), return all elements of the matrix in spiral order.For example,Given the following matrix:[[ 1, 2, 3 ... 阅读全文
posted @ 2015-07-08 18:03 Hygeia 阅读(188) 评论(0) 推荐(0)
摘要: 1 import java.util.ArrayList; 2 import java.util.Arrays; 3 4 5 public class Combination { 6 7 public static ArrayList> combine(int n, int ... 阅读全文
posted @ 2015-07-08 12:09 Hygeia 阅读(201) 评论(0) 推荐(0)