文章分类 -  leetcode

摘要:Given a collection of numbers that might contain duplicates, return all possible unique permutations.For example,[1,1,2]have the following unique perm... 阅读全文
posted @ 2014-12-09 23:23 xiaolongxia 阅读(77) 评论(0) 推荐(0)
摘要:Given an integern, generate a square matrix filled with elements from 1 ton2in spiral order.For example,Givenn=3,You should return the following matri... 阅读全文
posted @ 2014-12-09 20:59 xiaolongxia 阅读(71) 评论(0) 推荐(0)