I was going through the LeetCode Tree Card: https://leetcode.com/explore/learn/card/data-structure-tree/17/solve-problems-recursively/534/
where it specifically read: "We know that the depth of the root node is 1." I'm confused here, according to the definition of depth of a node, the depth of the root node should be 0 and not 1. Thoughts?
P.S: This wasn't an assumption, had they asked to assume 1 as the depth of the root node this wouldn't have been confusing.