Skip to content

Conversation

@aditya1944
Copy link
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
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
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

2 participants