What is the Efficiency Class of: enqueue an item into a sll-based queue
CPSC 131 midterm review

Quiz
•
Computers
•
University
•
Medium
Alan Cortez
Used 52+ times
FREE Resource
45 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
O(1)
O(log n)
O(n)
O(n log(n))
O(n^2)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the Efficiency Class of: Retrieve the last element from a singly linked list (assuming there isnt a tail pointer)
O(1)
O(log n)
O(n)
O(n log(n))
O(n^2)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the Efficiency Class of: Retrieve the front element from a singly linked list
O(1)
O(log n)
O(n)
O(n log(n))
O(n^2)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the Efficiency Class of: Retrieve the last element from a doubly linked list with a tail pointer
O(1)
O(log n)
O(n)
O(n log(n))
O(n^2)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the Efficiency Class of: Retrieve the last element from a doubly linked list
O(1)
O(log n)
O(n)
O(n log(n))
O(n^2)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the Efficiency Class of: Remove all elements in a doubly linked list
O(1)
O(log n)
O(n)
O(n log(n))
O(n^2)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the Efficiency Class of: push an element to the back of the vector
O(1)
O(log n)
O(n)
O(1) amoratized
O(n^2)
Create a free account and access millions of resources
Similar Resources on Quizizz
42 questions
Understanding ADA Concepts

Quiz
•
University
40 questions
11-JS-методы чисел

Quiz
•
University
40 questions
Java-Collections

Quiz
•
University
41 questions
DAA Quiz

Quiz
•
University
50 questions
Data Structures Quiz

Quiz
•
University
42 questions
UTS Algoritma dan Pemrograman

Quiz
•
University
50 questions
Quiz

Quiz
•
University
45 questions
Sorting, Searching and Big O Review

Quiz
•
9th Grade - University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade