Driver program to test above function
root = Node ( 10 ) NEW_LINE root . left = Node ( 11 ) NEW_LINE root . right = Node ( 9 ) NEW_LINE root . left . left = Node ( 13 ) NEW_LINE root . left . right = Node ( 12 ) NEW_LINE root . right . left = Node ( 13 ) NEW_LINE root . right . right = Node ( 8 ) NEW_LINE print " Maximum ▁ Consecutive ▁ Increasing ▁ Path ▁ Length ▁ is " , NEW_LINE print maxConsecutivePathLength ( root ) NEW_LINE