diameterOfBinaryTree = function(root, max = [0]) {
    diameterOfTree(root, max);

    return max[0];
}
https://leetcode.com/problems/diameter-of-binary-tree/
TIme O(N) | Space O(H)
@param {TreeNode} root
@return {number}