Minimum Distance Between BST Nodes

From LeetCode. Minimum absolute difference in BST. Solve the geometry problem "Minimum Distance Between BST Nodes".

Examples
Input: [1,2,3]
Output: 0
Hints

Minimum Distance Between BST Nodes

**From LeetCode.** Minimum absolute difference in BST. Solve the geometry problem "Minimum Distance Between BST Nodes".