8000
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 210992a commit a08235dCopy full SHA for a08235d
src/main/java/com/fishercoder/solutions/_222.java
@@ -2,16 +2,6 @@
2
3
import com.fishercoder.common.classes.TreeNode;
4
5
-/**
6
- * 222. Count Complete Tree Nodes
7
- *
8
- * Given a complete binary tree, count the number of nodes.
9
- * Definition of a complete binary tree from Wikipedia:
10
- * In a complete binary tree every level,
11
- * except possibly the last, is completely filled,
12
- * and all nodes in the last level are as far left as possible.
13
- * It can have between 1 and 2h nodes inclusive at the last level h.
14
- */
15
public class _222 {
16
17
public static class Solution1 {
0 commit comments