Skip to content

mnallamalli97/Tesla_Coding_Challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Tesla_Coding_Challenge

Implementing a priority expiry cache

My current implementation is using a mapping of cacheItems to heaps. The mapping consists of the key mapped two pointers that are doubly linked to two heaps (expiry and priority).

The time complexity is O(log n) and space is O(N).

About

Implementing a priority expiry cache

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages