Exercise Globant fit: Suppose we have a binary tree of nodes with numeric values, with nodes in no particular order. We would like to find the maximum difference between any ancestor node in the tree and any of that ancestor's descendant nodes.
andresortiz28 / exercise-globant-fit Goto Github PK
View Code? Open in Web Editor NEWExercise Globant fit: Suppose we have a binary tree of nodes with numeric values, with nodes in no particular order. We would like to find the maximum difference between any ancestor node in the tree and any of that ancestor's descendant nodes.
License: MIT License