Skip to content
Ravnary
A Knowledge Platform
Categories
Learn
Cheatsheets
Paths
Favourites
Review
Community
Colour theme
Light
Dark
System
Learn
Data Structures
Choosing and Combining
Choosing a Data Structure
Quiz
Q 01
/ 04
Intermediate
Question 1 of 4. 0 correct, 0 incorrect.
Match each operation a program performs most often to the structure that makes it cheapest.
Take the most recently added item first
Choose…
Trie
Binary heap
Stack
Hash table
Find a value by its key
Choose…
Trie
Binary heap
Stack
Hash table
Repeatedly take the smallest item while new ones arrive
Choose…
Trie
Binary heap
Stack
Hash table
Find every word that starts with a prefix
Choose…
Trie
Binary heap
Stack
Hash table
Check answer
Home
Learn
Paths
Saved
Community