Back to Question
Minimum Absolute Difference in BST
Question Explain
Given the root of a BST, return the minimum absolute difference between the values of any two different nodes in the tree. Use the property that in-order traversal of a BST is sorted.
Start Trying This Question Simulation
Click "Start Speaking" and answer the question naturally.