摘要:
原题链接在这里:https://leetcode.com/problems/minimum-height-trees/ 题目: For a undirected graph with tree characteristics, we can choose any node as the root. 阅读全文
摘要:
原题链接在这里:https://leetcode.com/problems/missing-ranges/ 题目: Given a sorted integer array nums, where the range of elements are in the inclusive range [l 阅读全文
摘要:
原题链接在这里:https://leetcode.com/problems/verify-preorder-serialization-of-a-binary-tree/ 题目: One way to serialize a binary tree is to use pre-order trave 阅读全文
摘要:
原题链接在这里:https://leetcode.com/problems/patching-array/ 题目: Given a sorted positive integer array nums and an integer n, add/patch elements to the array 阅读全文