Minimum Sum Root-to-Leaf Path
CodingOnsiteSoftware EngineerReported Aug, 2026
Company question banks are included with the Insider plan.
Given the root of a binary tree, find the root-to-leaf path with the smallest sum and return the path itself as the list of node values from the root down to the leaf. If the tree is empty,...