A Citadel technical phone screen (one hour of coding, for a Data Storage / Infra-related role) asked three tree questions of rising difficulty. The first two are the graded parts here; the third is the interviewer's follow-up to Part 2. The tests build trees with a Node(val, children) class that…