Problem 337 · Medium

House Robber III

Rob houses in tree structure with constraint.

Open the interactive visualisation