Given a binary tree, write a function to find the length of the longest path in the tree.
Sigiloso
As I understood the question, It is required to get the longest path in a binary tree not a the max depth of the tree, it is required to get longest path in the tree between two nodes, which can be solved recursively by getting the max depth in the left and max depth in the right, and return the max between maxDepthLeft + maxDepthRight and previousSolution