摘要: 题目: Given two binary trees, write a function to check if they are equal or not. Two binary trees are considered equal if they are structurally identic 阅读全文
posted @ 2017-07-14 21:11 荒野第一快递员 阅读(204) 评论(0) 推荐(0)
摘要: 题目: Given a binary tree, determine if it is a valid binary search tree (BST). Assume a BST is defined as follows: The left subtree of a node contains 阅读全文
posted @ 2017-07-14 20:19 荒野第一快递员 阅读(216) 评论(0) 推荐(0)