Which of the following data structures can be used to implement a queue?

Data Structures and Algorithms Quiz

Quiz
•
Others
•
University
•
Hard
M. Sudharsan M. Sudharsan
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Stack
Linked List
Array
All of the above
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity to search an element in a balanced binary search tree?
O(n)
O(log n)
O(n log n)
O(1)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In which of the following data structures is the insertion of data elements done at one end, called the rear, and deletion is done from the other end, called the front?
Stack
Queue
Linked List
Array
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which traversal technique of binary trees ensures the nodes are processed in ascending order for a Binary Search Tree (BST)?
Preorder
Inorder
Postorder
Level-order
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data structure is used in recursion?
Queue
Stack
Tree
Graph
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The time complexity for inserting an element in an array at the beginning is:
O(1)
O(log n)
O(n)
O(n^2)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a max-heap, the value of the root node is:
Less than its child nodes
Greater than or equal to its child nodes
Equal to its child nodes
None of the above
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
CODE 4 KITSW ROUND - 4

Quiz
•
University
15 questions
Soal Grafem dalam Bahasa Indonesia

Quiz
•
University
15 questions
Data Communication Quiz

Quiz
•
University
15 questions
CPU Scheduling Algorithms Quiz

Quiz
•
University
20 questions
Activité 1

Quiz
•
University
15 questions
English Club, MUAC

Quiz
•
University
25 questions
OnRamps Chemistry 301 Unit 0 Part 1 - Exam 1

Quiz
•
University
20 questions
NUMBER THEORY AND CRYPTOGRAPHY QUIZ

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade