NiCE interview question

Leet code questions on tree