摘要: "Unique Paths II" 左上角那个点:有obstacle,则为0;没有obstacle,则为1。 最上一排:有obstacle,则为0;没有obstacle,则为左边元素的值。 最左边一排:有obstacle,则为0;没有obstacle,则为上边元素的值。 其它点:有obstacle, 阅读全文
posted @ 2016-02-18 15:39 VicHawk 阅读(132) 评论(0) 推荐(0) 编辑
摘要: "Merge Intervals" Implementation 阅读全文
posted @ 2016-02-18 15:06 VicHawk 阅读(127) 评论(0) 推荐(0) 编辑
摘要: "Group Anagrams" set a HashMap. The key is string with letters in lexicographic order. The value is index of list containing anagrams in an ArrayList. 阅读全文
posted @ 2016-02-18 11:34 VicHawk 阅读(124) 评论(0) 推荐(0) 编辑
摘要: "Search in Rotated Sorted Array" Implementation 阅读全文
posted @ 2016-02-18 05:35 VicHawk 阅读(243) 评论(0) 推荐(0) 编辑
摘要: "Swap Nodes in Pairs" Implementation 阅读全文
posted @ 2016-02-18 04:08 VicHawk 阅读(165) 评论(0) 推荐(0) 编辑