the thief find new place thievery there entrance area call rootBesides root house parent house after tour smart thief realize house place form binary tree it automatically contact police directlylinke house break nightgiven root binary tree return maximum money thief rob alert police Example 1input root 323null3null1output 7explanation Maximum money thief rob 3 3 1 7example 2input root 34513null1output 9explanation Maximum money thief rob 4 5 9 ConstraintsThe number nod tree range 1 1040 Nodeval 104