標籤:: BinarySearchTree

0

Minimum Absolute Difference in BST

Minimum Absolute Difference in BSTGiven a binary search tree with non-negative values, find the minimum absolute difference between values of any two nodes. For Example:12345678910111213Input: 1