• + 0 comments

    To me it seems like such a solution would scale worse than the method using DFS traversal and checking the number of nodes in the subtree?