Skip to content

I want to add a clever Pythonic Implementation of LRU_Cache #4628

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

Closed
yatharthmathur opened this issue Aug 18, 2021 · 2 comments · Fixed by #4630
Closed

I want to add a clever Pythonic Implementation of LRU_Cache #4628

yatharthmathur opened this issue Aug 18, 2021 · 2 comments · Fixed by #4630
Labels
stale Used to mark an issue or pull request stale.

Comments

@yatharthmathur
Copy link
Contributor

I have a different algorithm that doesn't require any datastructure implemented /imported other than python's inbuilt dict. Could be useful for fast implementations.

@stale
Copy link

stale bot commented Sep 19, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Used to mark an issue or pull request stale. label Sep 19, 2021
@poyea poyea linked a pull request Sep 22, 2021 that will close this issue
14 tasks
@stale
Copy link

stale bot commented Oct 11, 2021

Please reopen this issue once you add more information and updates here. If this is not the case and you need some help, feel free to seek help from our Gitter or ping one of the reviewers. Thank you for your contributions!

@stale stale bot closed this as completed Oct 11, 2021
cclauss added a commit that referenced this issue Jul 30, 2023
* Added a more pythonic implementation of LRU_Cache.[#4628]

* Added test cases and doctest

* Fixed doc tests

* Added more tests in doctests and fixed return types fixes [#4628]

* better doctests

* added doctests to main()

* Added dutch_national_flag.py in sorts. fixing [#4636]

* Delete dutch_national_flag.py

incorrect commit

* Update lru_cache_pythonic.py

* Remove pontification

---------

Co-authored-by: Christian Clauss <[email protected]>
sedatguzelsemme pushed a commit to sedatguzelsemme/Python that referenced this issue Sep 15, 2024
* Added a more pythonic implementation of LRU_Cache.[TheAlgorithms#4628]

* Added test cases and doctest

* Fixed doc tests

* Added more tests in doctests and fixed return types fixes [TheAlgorithms#4628]

* better doctests

* added doctests to main()

* Added dutch_national_flag.py in sorts. fixing [TheAlgorithms#4636]

* Delete dutch_national_flag.py

incorrect commit

* Update lru_cache_pythonic.py

* Remove pontification

---------

Co-authored-by: Christian Clauss <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Used to mark an issue or pull request stale.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant