What is the depth of the root node of K-ary tree?

(a) 2

(b) 1

(c) 0

(d) 3

My question is taken from K-ary tree in section Trees of Data Structures & Algorithms I

The question was asked during an internship interview.

What is the depth of the root node of K-ary tree?

(a) 2

(b) 1

(c) 0

(d) 3

My question is taken from K-ary tree in section Trees of Data Structures & Algorithms I

The question was asked during an internship interview.