Depth of an Nary tree and finding route to a node in it — Steemit