Skip to content

fix #844#846

Merged
raklaptudirm merged 2 commits intoTheAlgorithms:masterfrom
aditya1944:LRUCache_optimisation
Nov 25, 2021
Merged

fix #844#846
raklaptudirm merged 2 commits intoTheAlgorithms:masterfrom
aditya1944:LRUCache_optimisation

Conversation

@aditya1944
Copy link
Copy Markdown
Contributor

Optimized code for LRU Cache.

How?
Used order of insertion functionality in the inbuilt data structure for the map instead of creating a custom doubly linked list.

Copy link
Copy Markdown
Member

@raklaptudirm raklaptudirm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Format your code with standard.js.

@raklaptudirm raklaptudirm added feature Adds a new feature code style issue Failing style checks Reviewed labels Nov 25, 2021
@aditya1944
Copy link
Copy Markdown
Contributor Author

@raklaptudirm Code is formatted using standard.js.

@raklaptudirm raklaptudirm removed the code style issue Failing style checks label Nov 25, 2021
@raklaptudirm raklaptudirm merged commit 8b1a4b9 into TheAlgorithms:master Nov 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature Adds a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants