![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
LeetCode
JoJoSIR
这个人很懒,什么都没留下~
展开
-
LeetCode 868 Binary Gap
Description Given a positive integer N, find and return the longest distance between two consecutive 1's in the binary representation of N. If there aren't two consecutive 1's, return 0. Example 1:...原创 2018-10-11 10:18:02 · 195 阅读 · 0 评论 -
LeetCode 896 Monotonic Array
Description An array is monotonic if it is either monotone increasing or monotone decreasing. An array A is monotone increasing if for all i <= j, A[i] <= A[j]. An array A is monotone decreas...原创 2018-10-15 14:59:09 · 181 阅读 · 0 评论 -
LeetCode 429 N-ary Tree Level Order Traversal
Description Given an n-ary tree, return the level order traversal of its nodes’ values. (ie, from left to right, level by level). For example, given a 3-ary tree: We should return its level order tra...原创 2018-10-15 15:38:44 · 185 阅读 · 0 评论