Data structures to implement database queries
Filed under OLA
The question
Explain what data structures you would use to implement a database for primary key lookups, prefix searches on names (e.g., matching 'ram*'), and range queries (e.g., marks between two values).
No write-up yet. Related questions below have one.
Related OLA questions
Collected from public candidate posts and coding forums. Updated Nov 2026.