DSA + System design - 15

DSA + System design - 15

Professional Development

11 Qs

quiz-placeholder

Similar activities

Day2- IoT STC

Day2- IoT STC

Professional Development

13 Qs

Linking in Coding

Linking in Coding

Professional Development

15 Qs

Network Plus Pre Assessment

Network Plus Pre Assessment

Professional Development

15 Qs

unit-5 test-1

unit-5 test-1

Professional Development

15 Qs

Trees

Trees

Professional Development

15 Qs

Week 11 Networks and Routing

Week 11 Networks and Routing

10th Grade - Professional Development

15 Qs

Network Security Module 1

Network Security Module 1

9th Grade - Professional Development

15 Qs

Friday Fun

Friday Fun

Professional Development

10 Qs

DSA + System design - 15

DSA + System design - 15

Assessment

Quiz

Computers

Professional Development

Hard

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?