โ† Samsung questions

Convert Binary Tree into a Sum Tree

Filed under Samsung

The question

Convert a given Binary Tree into a Sum Tree where every node's value is updated to the sum of its left and right subtrees.

No write-up yet. Related questions below have one.

Related Samsung questions

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