摘要:
Given the root of a tree, you are asked to find the most frequent subtree sum. The subtree sum of a node is defined as the sum of all the node values 阅读全文
posted @ 2017-02-17 21:34
amazingzoe
阅读(200)
评论(0)
推荐(0)
摘要:
In LLP world, there is a hero called Teemo and his attacking can make his enemy Ashe be in poisoned condition. Now, given the Teemo's attacking ascend 阅读全文
posted @ 2017-02-17 20:11
amazingzoe
阅读(139)
评论(0)
推荐(0)
摘要:
You need to find the largest value in each row of a binary tree. Example: 阅读全文
posted @ 2017-02-17 19:13
amazingzoe
阅读(409)
评论(0)
推荐(0)
摘要:
Design a hit counter which counts the number of hits received in the past 5 minutes. Each function accepts a timestamp parameter (in seconds granulari 阅读全文
posted @ 2017-02-17 18:56
amazingzoe
阅读(203)
评论(0)
推荐(0)
摘要:
Given a non-negative integer represented as non-empty a singly linked list of digits, plus one to the integer. You may assume the integer do not conta 阅读全文
posted @ 2017-02-17 16:28
amazingzoe
阅读(149)
评论(0)
推荐(0)
摘要:
Given a binary tree, find the leftmost value in the last row of the tree. Example 1: Example 2: Note: You may assume the tree (i.e., the given root no 阅读全文
posted @ 2017-02-17 12:03
amazingzoe
阅读(466)
评论(0)
推荐(0)
摘要:
Assume you have an array of length n initialized with all 0's and are given k update operations. Each operation is represented as a triplet: [startInd 阅读全文
posted @ 2017-02-17 11:41
amazingzoe
阅读(140)
评论(0)
推荐(0)
浙公网安备 33010602011771号