Problem 666 · Medium

Path Sum IV

Three-digit codes give each node its depth, position and value; sum every root-to-leaf path as a number.

Open the interactive visualisation