02 2016 档案

摘要:Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum. F 阅读全文
posted @ 2016-02-17 16:10 hudiwei-hdw 阅读(207) 评论(0) 推荐(0)
摘要:Given a digit string, return all possible letter combinations that the number could represent. A mapping of digit to letters (just like on the telepho 阅读全文
posted @ 2016-02-17 11:51 hudiwei-hdw 阅读(155) 评论(0) 推荐(0)
摘要:新年啦,大家新年快乐~~ 由于新年呢,所以最近很少做题,今天终于有时间可以打打代码了 134. Gas Station. There are N gas stations along a circular route, where the amount of gas at station i is  阅读全文
posted @ 2016-02-12 17:09 hudiwei-hdw 阅读(144) 评论(0) 推荐(0)
摘要:Given a 2D board and a word, find if the word exists in the grid. The word can be constructed from letters of sequentially adjacent cell, where "adjac 阅读全文
posted @ 2016-02-01 16:18 hudiwei-hdw 阅读(151) 评论(0) 推荐(0)