Domanda di colloquio di Principal Financial Group

Basic DSA and puzzle one question for tree