摘要:
跟字典序那道题一样 找出下一个 大于MAX_VALUE或者相同就return-1 阅读全文
posted @ 2018-10-09 20:28
jasoncool1
阅读(157)
评论(0)
推荐(0)
摘要:
这个比较简单 https://leetcode.com/problems/trim-a-binary-search-tree/discuss/107000/Java-solution-6-liner 阅读全文
posted @ 2018-10-09 13:00
jasoncool1
阅读(160)
评论(0)
推荐(0)
摘要:
common sense 直接sort 然后找citations > len-i 可以直接用一个bucket记录 然后大于N的全部记录在N上 因为hindex不可能大于N https://leetcode.com/problems/h-index/discuss/70768/Java-bucket- 阅读全文
posted @ 2018-10-09 11:42
jasoncool1
阅读(93)
评论(0)
推荐(0)
摘要:
把一行能达到的都遍历 visited为true 跟树的那个连接表一样 阅读全文
posted @ 2018-10-09 11:24
jasoncool1
阅读(127)
评论(0)
推荐(0)

浙公网安备 33010602011771号