Count Valid Paths in a Tree - DSA Problem | Talentd