Problem 2236 · Easy

Root Equals Sum of Children

Check whether a three-node tree root equals the sum of its children.

Open the interactive visualisation