Help required in a Tree Problem
Can someone provide some insight on how to approach this problem ?
CF Edu Round 189 Solution Discussion