摘要:
题目: Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after rain 阅读全文
posted @ 2017-04-25 10:03
panini
阅读(119)
评论(0)
推荐(0)
摘要:
题目: A robot is located at the top-left corner of a m x ngrid (marked 'Start' in the diagram below). The robot can only move either down or right at an 阅读全文
posted @ 2017-04-25 10:03
panini
阅读(130)
评论(0)
推荐(0)
摘要:
题目: Follow up for problem "Populating Next Right Pointers in Each Node". What if the given tree could be any binary tree? Would your previous solution 阅读全文
posted @ 2017-04-25 10:03
panini
阅读(144)
评论(0)
推荐(0)
摘要:
题目: Given a binary tree struct TreeLinkNode { TreeLinkNode *left; TreeLinkNode *right; TreeLinkNode *next; } Populate each next pointer to point to it 阅读全文
posted @ 2017-04-25 10:03
panini
阅读(104)
评论(0)
推荐(0)
摘要:
题目: Given a set of distinct integers, nums, return all possible subsets. Note: The solution set must not contain duplicate subsets. For example,If num 阅读全文
posted @ 2017-04-25 10:02
panini
阅读(307)
评论(0)
推荐(0)
该文被密码保护。 阅读全文
posted @ 2017-04-25 10:01
panini
阅读(3)
评论(0)
推荐(0)
浙公网安备 33010602011771号