Problem 938 · Easy

Range Sum of BST

Add up the values of nodes in a binary search tree that fall inside an inclusive range. The visual highlights the nodes in range and grays out the branches that are skipped.

Open the interactive visualisation