Skip to content

Glossary: Coding Interviews in C++

Cache

Also written: caching

Fast memory that holds recent answers so repeated reads skip the database. The trade-off is that a cached answer can be a little old.

Where the book teaches it

Related terms

Stale dataTrade-offRead replica