โ† Deloitte questions

Maximum depth of a generic tree

Filed under Deloitte

Find the maximum depth of a given generic tree, where each node can have an arbitrary number of children, represented as an acyclic graph.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Deloitte questions

Collected from public candidate posts and coding forums. Updated Nov 2026.