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
Written for
- Institution
- WGU C949
- Course
- WGU C949
Document information
- Uploaded on
- February 8, 2024
- Number of pages
- 2
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
wgu c949 data structures and algorithms exam with
Also available in package deal