摘要:
Rotate ImageYou are given annxn2D matrix representing an image.Rotate the image by 90 degrees (clockwise).Follow up:Could you do this in-place?每次转换四个点... 阅读全文
posted @ 2015-09-09 21:20
Sean_le
阅读(137)
评论(0)
推荐(0)
摘要:
Minimum Path SumGiven amxngrid filled with non-negative numbers, find a path from top left to bottom right whichminimizesthe sum of all numbers along ... 阅读全文
posted @ 2015-09-09 19:47
Sean_le
阅读(134)
评论(0)
推荐(0)
摘要:
Generate ParenthesesGivennpairs of parentheses, write a function to generate all combinations of well-formed parentheses.For example, givenn= 3, a sol... 阅读全文
posted @ 2015-09-09 18:37
Sean_le
阅读(123)
评论(0)
推荐(0)
摘要:
Gray CodeThe gray code is a binary numeral system where two successive values differ in only one bit.Given a non-negative integernrepresenting the tot... 阅读全文
posted @ 2015-09-09 17:29
Sean_le
阅读(838)
评论(0)
推荐(0)
摘要:
Unique PathsA robot is located at the top-left corner of amxngrid (marked 'Start' in the diagram below).The robot can only move either down or right a... 阅读全文
posted @ 2015-09-09 16:45
Sean_le
阅读(98)
评论(0)
推荐(0)

浙公网安备 33010602011771号