Canva interview question

Just a binary tree type leetcode question.