How to Compute the Maximum Difference Between Node and Ancestor? August 14, 2019 algorithms, c / c++, code, DFS, recursive No Comments Given the root of a binary tree, find the maximum value V for which there exists different nodes A and B where V = |A.val – B.val| and A … [Continue Reading...]