Data Structured61_q2_imbalance
Imbalance
7bd1092d-9904-4d45-bf52-2111c6f2010f.cppC++
1// Loading code...Selected Submission
100 / 100
0.011s
2152 KB
Tree
Time Comp.
O(N)
Space Comp.
O(H)
Readability
7/10
"The code operates on a tree structure, navigating it recursively to find a node with the maximum height difference between its left and right subtrees. The core data structure is a tree, and recursion is used to traverse it."
History
| Attempt | Points | Time ↓ |
|---|---|---|
| Try #6 | 100 | 11/17/2024 |
| Try #5 | 100 | 11/17/2024 |
| Try #4 | 100 | 11/17/2024 |
| Try #3 | 70 | 11/17/2024 |
| Try #2 | 70 | 11/17/2024 |
| Try #1 | 30 | 11/17/2024 |