
DSA + System design - 15

Quiz
•
Computers
•
Professional Development
•
Hard
Puneet Kansal
Used 1+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the time complexity of searching for an element in a BST?
O(n)
O(log n)
O(n log n)
O(1)
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Given a BST, what is the result of an inorder traversal?
Nodes are visited in ascending order.
Nodes are visited in descending order.
Nodes are visited in random order.
Nodes are visited level by level.
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is not a self-balancing binary search tree?
AVL Tree
Red-Black Tree
B-Tree
Binary Heap
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
In a BST, which node has the smallest value?
The root node
The leftmost node
The rightmost node
Any leaf node
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which technique is used to maintain balance in an AVL tree?
Hashing
Dynamic Programming
Rotation
Backtracking
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the time complexity of finding the minimum value in a BST?
O(1)
O(log n)
O(n)
O(n log n)
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following operations is not supported efficiently by a BST?
Search
Insertion
Deletion
Random Access
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Kubernetes Quiz

Quiz
•
Professional Development
10 questions
B and B+ Trees

Quiz
•
Professional Development
15 questions
Linked List

Quiz
•
Professional Development
10 questions
Trees

Quiz
•
Professional Development
10 questions
Linked List Reversal

Quiz
•
Professional Development
12 questions
DSA + System design - 10

Quiz
•
Professional Development
14 questions
BST-SR

Quiz
•
Professional Development
16 questions
DS Training

Quiz
•
Professional Development
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade