Find Elements in a Contaminated Binary Tree | Leetcode 1261