摘要:
104. Maximum Depth of Binary TreeGiven a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the ... 阅读全文
posted @ 2017-10-27 10:33
link98
阅读(127)
评论(0)
推荐(0)
摘要:
695. Max Area of IslandGiven a non-empty 2D array grid of 0's and 1's, an island is a group of 1's (representing land) connected 4-directionally (hori... 阅读全文
posted @ 2017-10-27 09:46
link98
阅读(119)
评论(0)
推荐(0)
摘要:
485. Max Consecutive OnesGiven a binary array, find the maximum number of consecutive 1s in this array.Example 1:Input: [1,1,0,1,1,1]Output: 3Explanat... 阅读全文
posted @ 2017-10-25 17:09
link98
阅读(159)
评论(0)
推荐(0)
摘要:
693. Binary Number with Alternating BitsGiven a positive integer, check whether it has alternating bits: namely, if two adjacent bits will always have... 阅读全文
posted @ 2017-10-25 14:53
link98
阅读(171)
评论(0)
推荐(0)
摘要:
690. Employee ImportanceYou are given a data structure of employee information, which includes the employee's unique id, his importance value and his ... 阅读全文
posted @ 2017-10-24 17:08
link98
阅读(172)
评论(0)
推荐(0)
摘要:
637. Average of Levels in Binary TreeGiven a non-empty binary tree, return the average value of the nodes on each level in the form of an array.Exampl... 阅读全文
posted @ 2017-10-23 19:49
link98
阅读(143)
评论(0)
推荐(0)
摘要:
1.异常分类异常的对象都是派生于Throwable类的一个实例。在throwable的下一层,立即分解为两个分支:Error,ExceptionError类层次结构描述了Java运行时系统的内部错误和资源耗尽错误。应用程序不应该抛出这种类型的对象。这种情况很少出现。Exception层次又分解为两个... 阅读全文
posted @ 2017-10-22 19:14
link98
阅读(268)
评论(0)
推荐(0)
摘要:
521. Longest Uncommon Subsequence IGiven a group of two strings, you need to find the longest uncommon subsequence of this group of two strings. The l... 阅读全文
posted @ 2017-10-22 09:28
link98
阅读(172)
评论(0)
推荐(0)
摘要:
现在的github desktop的网页好像被q了,这里给出离线下载地址:github desktop离线下载这里是CSDN资源地址:CSDN资源下载(截止17.10.21还是可以下载的)1.下载完成后,点击打开2.打开后,会在当前目录生成如下目录:3.把此目录移动到你想安装的目录,打开目录,点击s... 阅读全文
posted @ 2017-10-21 14:58
link98
阅读(523)
评论(0)
推荐(0)
摘要:
在编写Java程序的时候,有时要添加别人的jar,以下就是步骤:1.在打开你的project的情况下,点击File,选择Project Structure2.选择Modules,选择Dependencies,再选择+,找到你要填加的jar包就可以了 阅读全文
posted @ 2017-10-21 12:47
link98
阅读(1511)
评论(0)
推荐(0)
浙公网安备 33010602011771号