摘要:
Given an integer array with no duplicates. A maximum tree building on this array is defined as follow: Construct the maximum tree by the given array a 阅读全文
posted @ 2018-10-26 09:34
轻风舞动
阅读(426)
评论(0)
推荐(0)
摘要:
Given a non-empty binary tree, return the average value of the nodes on each level in the form of an array. Example 1: Note: 给一个非空二叉树,返回每层的平均值组成的数组。 解 阅读全文
posted @ 2018-10-26 08:35
轻风舞动
阅读(546)
评论(0)
推荐(0)
摘要:
Given the running logs of n functions that are executed in a nonpreemptive single threaded CPU, find the exclusive time of these functions. Each funct 阅读全文
posted @ 2018-10-26 07:44
轻风舞动
阅读(592)
评论(0)
推荐(0)
摘要:
There is a ball in a maze with empty spaces and walls. The ball can go through empty spaces by rolling up (u), down (d), left (l) or right (r), but it 阅读全文
posted @ 2018-10-26 04:47
轻风舞动
阅读(1967)
评论(0)
推荐(0)
摘要:
There is a ball in a maze with empty spaces and walls. The ball can go through empty spaces by rolling up, down, left or right, but it won't stop roll 阅读全文
posted @ 2018-10-26 04:34
轻风舞动
阅读(2634)
评论(0)
推荐(0)
摘要:
There is a ball in a maze with empty spaces and walls. The ball can go through empty spaces by rolling up, down, left or right, but it won't stop roll 阅读全文
posted @ 2018-10-26 04:26
轻风舞动
阅读(3050)
评论(0)
推荐(0)
摘要:
Given a positive 32-bit integer n, you need to find the smallest 32-bit integer which has exactly the same digits existing in the integer nand is grea 阅读全文
posted @ 2018-10-26 03:41
轻风舞动
阅读(451)
评论(0)
推荐(0)

浙公网安备 33010602011771号