摘要:
原题链接在这里:https://leetcode.com/problems/validate-binary-search-tree/ 题目: Given a binary tree, determine if it is a valid binary search tree (BST). Assum 阅读全文
摘要:
原题链接在这里:https://leetcode.com/problems/recover-binary-search-tree/description/ 题目: T Two elements of a binary search tree (BST) are swapped by mistake. 阅读全文
摘要:
原题链接在这里:https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii/ 题目: Given a binary tree Populate each next pointer to point to i 阅读全文
摘要:
原题链接在这里:https://leetcode.com/problems/populating-next-right-pointers-in-each-node/ 题目: You are given a perfect binary tree where all leaves are on the 阅读全文
摘要:
原题链接在这里:https://leetcode.com/problems/binary-tree-right-side-view/ 题目: Given a binary tree, imagine yourself standing on the right side of it, return 阅读全文