šŸ”„ 0
⭐ 0
Lesson 10 of 10 15 min +150 XP

🧠 DSA Quiz

Answer all questions to complete the quiz and earn 150 XP.

1

What is the time complexity of accessing an element by index in an array?

2

A Stack follows which principle?

3

Which data structure is best for implementing a print queue?

4

What is the main advantage of a linked list over an array?

5

In a Binary Search Tree, where are values greater than the root stored?

6

What is the time complexity of searching in a balanced BST?

7

Which traversal algorithm uses a queue?

8

What does O(n²) complexity mean?

9

Which data structure would you use for undo/redo functionality?

10

What is the space complexity of an adjacency matrix for a graph with V vertices?