Given a binary search tree, you are asked to find the smallest difference between two different elements of the BST.
Input
The input is handled automatically, you donβt need to do anything. All the values of the nodes are positive integers that donβt exceed . Itβs guaranteed that the input BST tree is valid and has more than 2 nodes.
Output
The program should print the minimum absolute smallest difference between two elements in the BST.