Buscar

Considering the following search tree, choose the correct alternative: The root of the tree has a key value of 50. The tree contains 5 leaf nodes...

Considering the following search tree, choose the correct alternative:


The root of the tree has a key value of 50.
The tree contains 5 leaf nodes.
Inserting a node with a key value of 96 keeps the tree balanced.
When calculating the balance factor of each node, according to the properties of an AVL tree, the example tree is unbalanced.
A search operation on the tree above will always visit all of its nodes.

Essa pergunta também está no material:

ESTRUTURA DE DADOS EM PYTHON
3 pág.

Estrutura de Dados I Universidade Estácio de SáUniversidade Estácio de Sá

💡 1 Resposta

User badge image

Ed Verified user icon

A alternativa correta é a letra D) A operação de busca na árvore acima não visitará todos os seus nós.

0
Dislike0

✏️ Responder

SetasNegritoItálicoSublinhadoTachadoCitaçãoCódigoLista numeradaLista com marcadoresSubscritoSobrescritoDiminuir recuoAumentar recuoCor da fonteCor de fundoAlinhamentoLimparInserir linkImagemFórmula

Para escrever sua resposta aqui, entre ou crie uma conta

User badge image

Outros materiais

Outros materiais