归档 2018年2月16日

[LeetCode]Minimum Distance Between BST Nodes

题目描述:

LeetCode 783. Minimum Distance Between BST Nodes

Given a Binary Search Tree (BST) with the root node root, return the minimum difference between the values of any two different nodes in the tree.

Example :

Input: root = [4,2,6,1 ...

继续阅读

昨天

明天

归档