← Amazon questions

Maximum path sum from root to leaf

Filed under Amazon

Given a binary tree where a node can have at most two children and possibly multiple parents (treated structurally as a standard binary tree for path traversal), find the maximum path sum from root to…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Amazon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.