WGU C949- Data Structures And Algorithms Exam With 100% Correct Answers
WGU C949- Data Structures And Algorithms Exam With 100% Correct Answers Stacks follow which principle? FIFO or LIFO - answerLIFO (think of a stack/pringles can. where the element that entered Last is on the top and is thus the first one to leave) Queues follows which principle? FIFO or LIFO - answerFIFO (think of a queue, where the first person who enters/starts the queue, is the first person to be served) Bubble Sort, Selection Sort and Insertion Sort's worst case time complexity - answerO (n^2) , i.e., Polynomial Time Lists - answerOrdered, diff data type, can't do math operations, easy to modify, append elements to the end Arrays - answerSame data type, can do math operations, can be n-dimensional (tensors, matrix), can add items to the end of an array OOP feature that indicates Code Reusability - answerInheritance
Escuela, estudio y materia
- Institución
- WGU C949
- Grado
- WGU C949
Información del documento
- Subido en
- 8 de febrero de 2024
- Número de páginas
- 2
- Escrito en
- 2023/2024
- Tipo
- Examen
- Contiene
- Preguntas y respuestas
Temas
-
wgu c949 data structures and algorithms exam with
Documento también disponible en un lote