Appleseniorset. de 2024
Depth of a binary tree
Given the root of an n-ary tree, return its maximum depth — the number of nodes along the longest root-to-leaf path. This is a simple DFS/BFS traversal problem (n ≤ 10^4, depth ≤ 1000).
Use esses exemplos para entender em que contexto ela costuma cair e adaptar sua prática.
Depth of a binary tree
Nenhum anexo público associado a esta pergunta.
No app você encontra perguntas parecidas, compara empresas e aprofunda essa busca com mais filtros.