摘要: 题目如下: Given a positive integer n, return the number of all possible attendance records with length n, which will be regarded as rewardable. The answer 阅读全文
posted @ 2019-02-24 22:50 seyjs 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 题目如下: We are given the root node of a maximum tree: a tree where every node has a value greater than any other value in its subtree. Just as in the pr 阅读全文
posted @ 2019-02-24 22:38 seyjs 阅读(396) 评论(0) 推荐(0) 编辑
摘要: 题目如下: 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 a 阅读全文
posted @ 2019-02-24 22:32 seyjs 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 题目如下: In a town, there are N people labelled from 1 to N. There is a rumor that one of these people is secretly the town judge. If the town judge exis 阅读全文
posted @ 2019-02-24 14:16 seyjs 阅读(419) 评论(0) 推荐(0) 编辑