Hacker News new | ask | show | jobs
by dmos62 1965 days ago
I've only heard of B-trees in passing. In what kinds of situations are these data structures used?
1 comments

Databases. If you want to be able to quickly do a lot of useful operations on large amounts of data, B-trees and their variants (B+ trees) are the way to go. Using a B-tree, you can find an entry, sort and do range queries by key, and inserts and deletes are fast.