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

Fichas

DSA - Lecture 4a

Lucas Vanparijs Inglés 10 fichas

Fichas del conjunto (10)

  1. 1What is a dictionary ADT like?It's a searchable collection of key-element items
  2. 2What are its main operations(Dictionary ADT)Searching, inserting and deleting
  3. 3What kind of order do the keys have?Total Order
  4. 4What ADTs does a lookup table consist of?it is an ordered dictionary implemented with a sorted sequence. it stores the items of the dictionary in an array based sequence, sorted by key and uses an external comparator for the keys.
  5. 5What is the Lookup tables performace for finding an element, inserting and removing.O(log n ) for finding if implemented with a binary tree, and O(n) for inserting and removing due to shifting elements
  6. 6How can you store the keys in a Lookup table?By using a BST, the keys are stored at internal nodes
  7. 7How can you visit the keys in increasing order in a BST?By using inorder traversal
  8. 8Explain the searching in a BST for a key k + Pseudocodeoke
  9. 9Explain and draw deletion in a BSTkk
  10. 10What is an AVL tree?It is a balanced BST such that the heights of internal nodes can differ with at most 1

Información

Descripción
Fichas sobre DSA - Lecture 4a, creado por Lucas Vanparijs el 20/03/2015.
Creado por
Lucas Vanparijs
Visitas
0
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?