give root binary tree return length long path node path value this path pass rootthe length path node represent number edge Example 1input root 54511null5output 2explanation the show image show long path value ie 5Example 2input root 14544null5output 2explanation the show image show long path value ie 4 ConstraintsThe number nod tree range 0 1041000 Nodeval 1000The depth tree exceed 1000