Skip to content

Commit a11ce93

Browse files
committed
Runtime: 86 ms (Top 15.89%) | Memory: 53.6 MB (Top 51.73%)
1 parent a208695 commit a11ce93

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/algorithms/N/Number of Good Leaf Nodes Pairs/Number of Good Leaf Nodes Pairs.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Runtime: 86 ms (Top 15.89%) | Memory: 53.6 MB (Top 51.73%)
12
class Solution {
23
static int res;
34
public int countPairs(TreeNode root, int distance) {
@@ -32,4 +33,4 @@ static List<Integer> rec(TreeNode root,int dist){
3233
}
3334
return temp;
3435
}
35-
}
36+
}

0 commit comments

Comments
 (0)