WGU C949 - List, Stacks and Queues Questions & Correct Answers | Grade A+
Singly-linked List Ans- A list connecting elements in one direction. Ex: A->B->C->None A starts the list A links to B B links to C C ends the list Doubly-linked List Ans- A list connecting elements in two directions. Ex: None<-A<->B<->C->None A starts the list A points to B B points back to A B points to C C points back to B C ends the list Circular List Ans- A list where the last element points back to the first. A->B->C->A A points to B B points to C points to A List Insert Ans- Insert a node into a list. A) If the list is empty, set the inserted node as the head and tail B) If the node is inserted after the tail, point the previous tail to the inserted node and set the inserted node as the tail. C) If the node is inserted before the head, point the node to the previous head and set the inserted node as the head. D) If the node is inserted i
Escuela, estudio y materia
- Institución
- WGU C949
- Grado
- WGU C949
Información del documento
- Subido en
- 15 de julio de 2024
- Número de páginas
- 5
- Escrito en
- 2023/2024
- Tipo
- Examen
- Contiene
- Preguntas y respuestas
Temas
-
wgu c949 list stacks and queues questions cor
Documento también disponible en un lote