We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5fef0a commit 7e18edfCopy full SHA for 7e18edf
src/main/java/com/fishercoder/solutions/_530.java
@@ -5,28 +5,6 @@
5
import java.util.Iterator;
6
import java.util.TreeSet;
7
8
-/**
9
- * 530. Minimum Absolute Difference in BST
10
- *
11
- * Given a binary search tree with non-negative values, find the minimum absolute difference between values of any two nodes.
12
-
13
- Example:
14
15
- Input:
16
17
- 1
18
- \
19
- 3
20
- /
21
- 2
22
23
- Output:
24
25
26
- Explanation:
27
- The minimum absolute difference is 1, which is the difference between 2 and 1 (or between 2 and 3).
28
- Note: There are at least two nodes in this BST.
29
- */
30
public class _530 {
31
32
public static class Solution1 {
0 commit comments