Datadog interview question

Leetcode question. Easy level problem. Related to binary trees