Longest increasing downward path in a binary tree

0
Remix

In a binary tree, find the longest path that goes from a node down to one of its descendants where every child's value is greater than its parent's (not necessarily by exactly one). Return the path itself, not only its length.

MetaTechnical phone screenLast asked Nov 2025
No answer yet. Write the first one; the best answer gets endorsed.