# | Time Complexity | Space Complexity | Description | Submission | Runtime (4 trials) | Memory (4 trials) |
---|---|---|---|---|---|---|
1 | O(n) | O(n) | Use DFS to find minimum height of tree, by compare leaf height and stored min height value | Submission | 249.75ms | 43.53 MB |
# | Time Complexity | Space Complexity | Description | Submission | Runtime (4 trials) | Memory (4 trials) |
---|---|---|---|---|---|---|
1 | O(n) | O(n) | Use DFS to find minimum height of tree, by compare leaf height and stored min height value | Submission | 249.75ms | 43.53 MB |