GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Quiz

1. Trees Splay Trees

Mena Sargios 20 Fragen Aktualisiert am 7 Dez 2016

Quiz starten

Fragen in diesem Quiz (20)

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

Informationen

Beschreibung
Algorithms and Data Structures | Test 3 Review | CSCI-3110-002 MTSU
Sprache
English
Aufrufe
251
Verlauf
Erstellt am 27 Nov 2016 · aktualisiert am 7 Dez 2016
Schlagwörter
mtsucsci3110
Bewertung
Noch keine Bewertungen
Bewerte dieses Quiz
Bewerte dieses Quiz

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck