摘要:
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-01-14 16:25
雄哼哼
阅读(120)
评论(0)
推荐(0)
摘要:
Given an array of strings, return all groups of strings that are anagrams.Note: All inputs will be in lower-case.1.概念,首先简单介绍一下Anagram(回文构词法)。Anagrams是... 阅读全文
posted @ 2015-01-14 14:56
雄哼哼
阅读(252)
评论(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 @ 2015-01-14 14:51
雄哼哼
阅读(127)
评论(0)
推荐(0)

浙公网安备 33010602011771号