Skip to content

Commit 458853e

Browse files
refactor 110
1 parent ff4e389 commit 458853e

File tree

1 file changed

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

1 file changed

+0
-32
lines changed

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

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -2,38 +2,6 @@
22

33
import com.fishercoder.common.classes.TreeNode;
44

5-
/**
6-
* 110. Balanced Binary Tree
7-
*
8-
* Given a binary tree, determine if it is height-balanced.
9-
* For this problem, a height-balanced binary tree is defined as a binary tree in which
10-
* the depth of the two subtrees of every node never differ by more than 1.
11-
12-
Example 1:
13-
Given the following tree [3,9,20,null,null,15,7]:
14-
15-
3
16-
/ \
17-
9 20
18-
/ \
19-
15 7
20-
21-
Return true.
22-
23-
Example 2:
24-
Given the following tree [1,2,2,3,3,null,null,4,4]:
25-
26-
1
27-
/ \
28-
2 2
29-
/ \
30-
3 3
31-
/ \
32-
4 4
33-
34-
Return false.
35-
*/
36-
375
public class _110 {
386

397
public static class Solution1 {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy