Leetcode 3372. Maximize the Number of Target Nodes After Connecting Trees I | Hello Interview