Skip to content

Commit

Permalink
done
Browse files Browse the repository at this point in the history
  • Loading branch information
SrijaVuppala295 committed Oct 27, 2024
1 parent 58c44a2 commit ac45658
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/data/problemData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2666,6 +2666,16 @@ class Solution:
return self.countLeaves(root.left) + self.countLeaves(root.right)
`,
},
"timeComplexity": {
"cpp": "O(n)",
"java": "O(n)",
"python": "O(n)"
},
"spaceComplexity": {
"cpp": "O(h)",
"java": "O(h)",
"python": "O(h)"
}
},

generateBinaryNumbers: {
Expand Down

0 comments on commit ac45658

Please sign in to comment.