Pergunta de entrevista da empresa DoorDash

Technical round was a leetcode binary tree question