Which of the following data structures is used to implement recursion?

Data Structures and Algorithms Quiz

Quiz
•
Computers
•
University
•
Hard
BALASARASWATHI AI&DS
Used 3+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Queue
Stack
Linked List
Tree
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which sorting algorithm has the best worst-case time complexity?
Bubble Sort
Merge Sort
Quick Sort
Insertion Sort
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity of accessing an element in a hash table?
O(1)
O(log n)
O(n)
O(n^2)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity of searching an element in a Binary Search Tree (BST)?
O(log n)
O(n)
O(n log n)
O(1)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a stable sorting algorithm?
Merge Sort
Bubble Sort
Insertion Sort
Quick Sort
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following algorithms is used for finding the shortest path in a weighted graph?
Dijkstra’s Algorithm
Prim’s Algorithm
Kruskal’s Algorithm
Depth-First Search (DFS)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the best description of a "heap" data structure?
A complete binary tree where each node is greater than or equal to its children (Max-Heap).
A sorted binary tree.
A graph with no cycles.
A linear data structure.
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Data structures PGDCA

Quiz
•
University
20 questions
Exploring Trees and Graph Algorithms

Quiz
•
University
15 questions
07 - Map

Quiz
•
University
20 questions
TEST-1

Quiz
•
University
16 questions
Algo Quiz

Quiz
•
University
15 questions
Strategi Algoritmik dan Pemrograman

Quiz
•
University
18 questions
Lecture 2b: Solving Search Problems - Parte2

Quiz
•
University
20 questions
2.3.1 Graph Traversal & Path Finding Algorithms

Quiz
•
12th Grade - 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