摘要: 题目如下: A tree rooted at node 0 is given as follows: The number of nodes is nodes; The value of the i-th node is value[i]; The parent of the i-th node i 阅读全文
posted @ 2019-12-03 21:41 seyjs 阅读(625) 评论(0) 推荐(0) 编辑
摘要: 题目如下: (This problem is an interactive problem.) On the sea represented by a cartesian plane, each ship is located at an integer point, and each intege 阅读全文
posted @ 2019-12-03 19:26 seyjs 阅读(378) 评论(0) 推荐(0) 编辑
摘要: 题目如下: Given a sorted list of disjoint intervals, each interval intervals[i] = [a, b] represents the set of real numbers x such that a <= x < b. We rem 阅读全文
posted @ 2019-12-03 19:24 seyjs 阅读(495) 评论(0) 推荐(0) 编辑
摘要: 题目如下: A decimal number can be converted to its Hexspeak representation by first converting it to an uppercase hexadecimal string, then replacing all o 阅读全文
posted @ 2019-12-03 19:05 seyjs 阅读(737) 评论(0) 推荐(0) 编辑