Sum of nodes on the longest path from root to leaf node

1 min read

https://practice.geeksforgeeks.org/problems/sum-of-the-longest-bloodline-of-a-tree/1

Check if 2 trees are mirror
Check if given graph is tree