O GoConqr está de visual novo! Conte para nós o que você achou.

Quiz

1. Trees Splay Trees

Mena Sargios 20 perguntas Atualizado em 7 dez 2016

Fazer o quiz

Perguntas do quiz (20)

  1. 1Splay trees use AVL rotation by taking nodes that not have been accessed and move them toward the leaves.
    1. AVerdadeiro
    2. BFalso
  2. 2What is a splay tree and what is the act of splaying?
    1. AA splay tree is a self-adjusting binary search tree. The act of splaying is
      that after a node is accessed, it is moved up in the tree toward the root with
      AVL rotations.
    2. Bnone of the above
  3. 3What is the Big O for average case of Reterieval for Splay trees?
    1. Alog(N)
    2. BO(N^2)
  4. 4What is the benefit of using splay trees?
    1. Ait allows easier access to recently added values.
    2. Bnone of the above
  5. 5Splaying is used for balancing binary search trees.
    1. AVerdadeiro
    2. BFalso
  6. 6What is the worst case to search a Splay tree?
    1. AA.n
    2. BB.amortized O(log n)
    3. CC.n^2
    4. DD.none of these
  7. 7How are splay trees different from AVL trees?
    1. ASplay trees splay the node visited all the way to the root to make them more easily accessed.
    2. Bnone of the above
  8. 8A splay tree is a type of balanced binary search tree.
    1. AVerdadeiro
    2. BFalso
  9. 9what do you trying to splay a node with the root(zig)?
    1. AA) Avl single rotation
    2. BB) Avl double rotation
  10. 10Which of the following is a disadvantage of a splay tree?
    1. Aa) Recently accessed items are at the bottom of the tree
    2. Bb) Implementation is very complex
    3. Cc) Splay trees are not very efficient
    4. Dd) The tree height can potentially be n

Informações

Descrição
Algorithms and Data Structures | Test 3 Review | CSCI-3110-002 MTSU
Idioma
English
Visualizações
251
Histórico
Criado em 27 nov 2016 · atualizado em 7 dez 2016
Etiquetas
mtsucsci3110
Avaliação
Ainda sem avaliações
Avalie este quiz
Avalie este quiz

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?