Empresa engajada
How to calculate the depth of binary tree.
Sigiloso
DFS
Coud you please tell after how long from the interview day they sent you the offer ?
MAX(depth(root->left), depth(root->right))+1;
Fique por dentro de todas as oportunidades e dicas internas seguindo as empresas de seus sonhos.
Comece a buscar vagas para receber atualizações e recomendações personalizadas.