Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const findMaxHeight = (node) => !node ? 0 : findMaxHeight(Math.max(node.left, node.right) + 1);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement