Test your Data Structures knowledge with a free interactive quiz — 50 questions with answers and explanations. No signup needed to play.
Question 1/12Score 0
What does a doubly linked list have that a singly linked list does not?
In this round
What does a doubly linked list have that a singly linked list does not?
A weighted graph differs from an unweighted graph in that:
A stack is a:
What is the time complexity of accessing an element by index in a contiguous array?
A Set (e.g. `Set` in JS, `set` in Python) primarily supports:
A queue is a:
What is the typical time complexity of `Array.prototype.push` (or appending to a dynamic array) versus `Array.prototype.shift` (removing from the front)?
What is recursion?
What is the average-case time complexity of `get` and `set` in a hash table with a good hash function and reasonable load factor?
In JavaScript (and many other languages), passing an object/array to a function passes:
In a directed graph, an edge from A to B:
What does Big O notation describe?
Gaps to close?
Read the curated Data Structures notes — core concepts, patterns, interview prep.