1519. Number of Nodes in the Sub-Tree With the Same Label | TC - O(N) | SC - O(N) | Medium | Graph

2K views

CodeHub

11 hours ago

1519. Number of Nodes in the Sub-Tree With the Same Label | TC - O(N) | SC - O(N) | Medium | Graph

1519. Number of Nodes in the Sub-Tree With the Same Label | TC - O(N) | SC - O(N) | Medium | Graph