2014年10月21日

摘要: Populating Next Right Pointers in Each Node IIFollow up for problem "Populating Next Right Pointers in Each Node".What if the given tree could be any ... 阅读全文
posted @ 2014-10-21 19:20 Yu's Garden 阅读(2717) 评论(0) 推荐(0) 编辑
摘要: Populating Next Right Pointers in Each Node TotalGiven a binary tree struct TreeLinkNode { TreeLinkNode *left; TreeLinkNode *right; TreeLinkNode *next... 阅读全文
posted @ 2014-10-21 19:18 Yu's Garden 阅读(1969) 评论(0) 推荐(0) 编辑
摘要: Word SearchGiven 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, wh... 阅读全文
posted @ 2014-10-21 15:10 Yu's Garden 阅读(3684) 评论(1) 推荐(0) 编辑
摘要: String to Integer (atoi) Implement atoi to convert a string to an integer.Hint: Carefully consider all possible input cases. If you want a challenge, ... 阅读全文
posted @ 2014-10-21 11:32 Yu's Garden 阅读(717) 评论(0) 推荐(0) 编辑
摘要: Jump GameGiven an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents yo... 阅读全文
posted @ 2014-10-21 11:08 Yu's Garden 阅读(2131) 评论(0) 推荐(0) 编辑

导航