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