Skip to content

udaysagar2177/fastest-lru-cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fastest LRU cache implementation that combines Map and Doubly Linked List functionality together on every operation - see IntIntLRUCache.java in this repo.

Map and Doubly Linked List are not two different data structures anymore. Data is stored in an integer array and both map lookups and doubly linked list movements are addressed with respect to data layout. See the article related to this implementation for more details - https://medium.com/@udaysagar.2177/fastest-lru-cache-in-java-c22262de42ad

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages