-
Notifications
You must be signed in to change notification settings - Fork 0
practice with caches #18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
practice lru cache with doubly linked list implementation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||||||||||
User description
Description
second batch of hash table practice
PR Type
Enhancement, Tests
Description
Implement LRU Cache with doubly linked list and hash table
Fix import path in test file for hash table module
Diagram Walkthrough
File Walkthrough
cache.py
LRU Cache implementation with linked listAlgorithms/datastructs/hash_table/cache.py
pairs
(add, remove, move_to_end, evict)
O(1) get/put operations
test_hash_table.py
Fix hash table import pathtests/test_hash_table.py
reference