All quizzes
Free quiz · 50 questions in the bank

Data Structures quiz

Test your Data Structures knowledge with a free interactive quiz — 50 questions with answers and explanations. No signup needed to play.

Question 1/5Score 0

A `Map` (key-value collection) is most often backed by:

Questions in this quiz
  1. A `Map` (key-value collection) is most often backed by:
  2. What is the typical time complexity of `Array.prototype.push` (or appending to a dynamic array) versus `Array.prototype.shift` (removing from the front)?
  3. In a directed graph, an edge from A to B:
  4. A stack is a:
  5. A min-heap maintains which invariant?
  6. What is the time complexity of accessing an element by index in a contiguous array?
  7. What does Big O notation describe?
  8. A priority queue is most often implemented with which data structure?
  9. What does a doubly linked list have that a singly linked list does not?
  10. In a tree, what is the "root"?
  11. A graph consists of:
  12. What is the average-case time complexity of `get` and `set` in a hash table with a good hash function and reasonable load factor?
Gaps to close?
Read the curated Data Structures notes — core concepts, patterns, interview prep.
Data Structures notes

More quizzes

.NET.NET MAUIAbsintheAccessibilityActixActix Web