Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 1022. Sum of Root To Leaf Binary Numbers
Given a binary tree with node values 0 or 1, interpret each root-to-leaf path as a binary number (root is the most significant bit) and return the sum of all those numbers. This is a tree-traversal problem (e.g., DFS) that accumulates bit-values along each path; the result fits in a 32-bit integer.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.