Skip to content

Commit 0e0ab5e

Browse files
refactor 653
1 parent 3838f84 commit 0e0ab5e

File tree

1 file changed

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

1 file changed

+0
-29
lines changed

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

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -5,35 +5,6 @@
55
import java.util.ArrayList;
66
import java.util.List;
77

8-
/**
9-
* 653. Two Sum IV - Input is a BST
10-
*
11-
* Given a Binary Search Tree and a target number,
12-
* return true if there exist two elements in the BST such that their sum is equal to the given target.
13-
14-
Example 1:
15-
Input:
16-
5
17-
/ \
18-
3 6
19-
/ \ \
20-
2 4 7
21-
22-
Target = 9
23-
Output: True
24-
25-
Example 2:
26-
Input:
27-
5
28-
/ \
29-
3 6
30-
/ \ \
31-
2 4 7
32-
33-
Target = 28
34-
Output: False
35-
36-
*/
378
public class _653 {
389

3910
public static class Solution1 {

0 commit comments

Comments
 (0)