Search
⌘K

Leetcode 112. Path Sum

Determine whether a binary tree contains a root-to-leaf path whose node values add up to a given targetSum. (A leaf is a node with no children.)

Asked at:

Amazon

Amazon

Meta


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Early May, 2025

Meta

Senior

Late March, 2025

Meta

Senior

Mid January, 2025

Meta

Mid-level

Comments

Your account is free and you can post anonymously if you choose.