Skip to content

Nikolai Romanov | oct2025-3 | Complexity | Sprint 2 | Implement an LRU cache in Python - #3

Open
kolya-rm wants to merge 2 commits into
mainfrom
coursework/implement_lru_cache
Open

Nikolai Romanov | oct2025-3 | Complexity | Sprint 2 | Implement an LRU cache in Python#3
kolya-rm wants to merge 2 commits into
mainfrom
coursework/implement_lru_cache

Conversation

@kolya-rm

Copy link
Copy Markdown
Owner

Learners, PR Template

Self checklist

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

Changelist

Implemented LRU cache based on the OrderedDict:

  • declared the class and it contructor;
  • implemented get method returns the value by the key;
  • implemented set. method adds the value by the key;
  • implemented logic keeps more recent items alive.

Questions

Ask any questions you have for your reviewer. You must remove this section if you have no questions.

@kolya-rm kolya-rm changed the title Coursework/implement lru cache Nikolai Romanov | oct2025-3 | Complexity | Sprint 2 | Implement an LRU cache in Python Jun 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant