Skip to content

Commit 7e18edf

Browse files
refactor 530
1 parent d5fef0a commit 7e18edf

File tree

1 file changed

+0
-22
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+0
-22
lines changed

src/main/java/com/fishercoder/solutions/_530.java

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,6 @@
55
import java.util.Iterator;
66
import java.util.TreeSet;
77

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-
1
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-
*/
308
public class _530 {
319

3210
public static class Solution1 {

0 commit comments

Comments
 (0)