摘要: 原题链接在这里:https://leetcode.com/problems/complete-binary-tree-inserter/ 题目: A complete binary tree is a binary tree in which every level, except possibly 阅读全文
posted @ 2019-07-07 09:24 Dylan_Java_NYC 阅读(425) 评论(0) 推荐(0)
摘要: 原题链接在这里:https://leetcode.com/problems/split-bst/ 题目: Given a Binary Search Tree (BST) with root node root, and a target value V, split the tree into t 阅读全文
posted @ 2019-07-07 07:48 Dylan_Java_NYC 阅读(471) 评论(0) 推荐(0)
摘要: 原题链接在这里:https://leetcode.com/problems/check-completeness-of-a-binary-tree/ 题目: Given a binary tree, determine if it is a complete binary tree. Definit 阅读全文
posted @ 2019-07-07 07:22 Dylan_Java_NYC 阅读(913) 评论(1) 推荐(0)
摘要: 原题链接在这里:https://leetcode.com/problems/maximum-difference-between-node-and-ancestor/ 题目: Given the root of a binary tree, find the maximum value V for 阅读全文
posted @ 2019-07-07 02:07 Dylan_Java_NYC 阅读(928) 评论(0) 推荐(0)