¡GoConqr estrena diseño! Cuéntanos qué te parece.

Test

1. Trees Splay Trees

Mena Sargios 20 preguntas Actualizado el 7 dic 2016

Hacer el test

Preguntas del test (20)

  1. 1Splay trees use AVL rotation by taking nodes that not have been accessed and move them toward the leaves.
    1. AVerdadero
    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. AVerdadero
    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. AVerdadero
    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

Información

Descripción
Algorithms and Data Structures | Test 3 Review | CSCI-3110-002 MTSU
Idioma
English
Visitas
251
Historial
Creado el 27 nov 2016 · actualizado el 7 dic 2016
Etiquetas
mtsucsci3110
Valoración
Aún sin valoraciones
Valora este test
Valora este test

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?