Longest Path Length in Binary Tree
# Difficult Coding Interview Question You Need To Know
Published in
3 min readMay 3, 2024
Given a binary tree, find the longest possible path length between 2 nodes.
- assume all nodes have unique values
- the path does not need to pass through our root node
- there shouldn’t be repeated nodes in our path