Leetcode 2445. Number of Nodes With Value One | Hello Interview