Binary Trees With Factors Leetcode