Sponsored
Use these hints if you're stuck. Try solving on your own first.
The child at <code>(0, 0)</code> has only one possible path.
The other two children won’t intersect its path.
Solve with full IDE support and test cases
Use Dynamic Programming.