René's URL Explorer Experiment


Title: [FEATURE]: [ENHANCEMENT]: Add LRU (Least Recently Used) Cache implementation · Issue #304 · TheAlgorithms/TypeScript · GitHub

Open Graph Title: [FEATURE]: [ENHANCEMENT]: Add LRU (Least Recently Used) Cache implementation · Issue #304 · TheAlgorithms/TypeScript

X Title: [FEATURE]: [ENHANCEMENT]: Add LRU (Least Recently Used) Cache implementation · Issue #304 · TheAlgorithms/TypeScript

Description: Motivation Description Currently, the repository lacks a standardized implementation of an LRU (Least Recently Used) Cache. This is a fundamental data structure in computer science used for memory management and caching strategies. Propo...

Open Graph Description: Motivation Description Currently, the repository lacks a standardized implementation of an LRU (Least Recently Used) Cache. This is a fundamental data structure in computer science used for memory ...

X Description: Motivation Description Currently, the repository lacks a standardized implementation of an LRU (Least Recently Used) Cache. This is a fundamental data structure in computer science used for memory ...

Opengraph URL: https://github.com/TheAlgorithms/TypeScript/issues/304

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[FEATURE]: [ENHANCEMENT]: Add LRU (Least Recently Used) Cache implementation","articleBody":"### Motivation\n\n### Description\nCurrently, the repository lacks a standardized implementation of an **LRU (Least Recently Used) Cache**. This is a fundamental data structure in computer science used for memory management and caching strategies.\n\n### Proposed Solution\nI propose adding an LRU Cache implementation that achieves **O(1)** time complexity for both `get` and `put` operations by combining:\n1.  **A Doubly Linked List:** To maintain the order of elements based on their usage.\n2.  **A Hash Map (Map):** To provide fast access to nodes by their keys.\n\n### Implementation Details\n- **BaseCache (Abstract Class):** Defines the contract for cache implementations, demonstrating OOP abstraction.\n- **LRUCache (Concrete Class):** Extends `BaseCache` and manages the pointer logic for eviction and updates.\n- **Generics:** Supports any key-value types `\u003cK, V\u003e`.\n- **Unit Tests:** Comprehensive coverage for eviction, updates, and capacity constraints.\n\nI have already implemented this locally and would like to contribute it.\n\n### Examples\n\n_No response_\n\n### Possible workarounds\n\n_No response_","author":{"url":"https://github.com/MOHD-TAHA-KHAN","@type":"Person","name":"MOHD-TAHA-KHAN"},"datePublished":"2026-05-07T18:56:22.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/304/TypeScript/issues/304"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:3411a77c-1409-33ca-6d2d-bb3b57f85c4f
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAAD6:211BBA:118BC44:181E137:6A62DF04
html-safe-nonce1ceb59cac3387d9f161861f5ae517fd84703b3ee0d2525164214d0ad23f99fa4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQUQ2OjIxMUJCQToxMThCQzQ0OjE4MUUxMzc6NkE2MkRGMDQiLCJ2aXNpdG9yX2lkIjoiMTQ1MDk5MTAwODM3MzQ2NDgzNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac5eefb2b4d68a56c6ee0913d092dbe5f3bdf4c4876796c56c6ca346bba59c07d4
hovercard-subject-tagissue:4401242429
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/TheAlgorithms/TypeScript/304/issue_layout
twitter:imagehttps://opengraph.githubassets.com/5815ee6121cb3986c730e402b028ebedf31d3e8eb4772d9cc08408823e90617e/TheAlgorithms/TypeScript/issues/304
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5815ee6121cb3986c730e402b028ebedf31d3e8eb4772d9cc08408823e90617e/TheAlgorithms/TypeScript/issues/304
og:image:altMotivation Description Currently, the repository lacks a standardized implementation of an LRU (Least Recently Used) Cache. This is a fundamental data structure in computer science used for memory ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameMOHD-TAHA-KHAN
hostnamegithub.com
expected-hostnamegithub.com
Nonedf33b1b61ee7b9a0af988199bfc3503c9c1acafb1f1d40e1f140ea7c84f890dd
turbo-cache-controlno-preview
go-importgithub.com/TheAlgorithms/TypeScript git https://github.com/TheAlgorithms/TypeScript.git
octolytics-dimension-user_id20487725
octolytics-dimension-user_loginTheAlgorithms
octolytics-dimension-repository_id532391729
octolytics-dimension-repository_nwoTheAlgorithms/TypeScript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id532391729
octolytics-dimension-repository_network_root_nwoTheAlgorithms/TypeScript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
released41cd1bdb290013455c0ac430fa755621733f5eb
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/TheAlgorithms/TypeScript/issues/304#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTheAlgorithms%2FTypeScript%2Fissues%2F304
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTheAlgorithms%2FTypeScript%2Fissues%2F304
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=TheAlgorithms%2FTypeScript
Reloadhttps://github.com/TheAlgorithms/TypeScript/issues/304
Reloadhttps://github.com/TheAlgorithms/TypeScript/issues/304
Reloadhttps://github.com/TheAlgorithms/TypeScript/issues/304
Please reload this pagehttps://github.com/TheAlgorithms/TypeScript/issues/304
TheAlgorithms https://github.com/TheAlgorithms
TypeScripthttps://github.com/TheAlgorithms/TypeScript
Please reload this pagehttps://github.com/TheAlgorithms/TypeScript/issues/304
Notifications https://github.com/login?return_to=%2FTheAlgorithms%2FTypeScript
Fork 574 https://github.com/login?return_to=%2FTheAlgorithms%2FTypeScript
Star 2.9k https://github.com/login?return_to=%2FTheAlgorithms%2FTypeScript
Code https://github.com/TheAlgorithms/TypeScript
Issues 24 https://github.com/TheAlgorithms/TypeScript/issues
Pull requests 50 https://github.com/TheAlgorithms/TypeScript/pulls
Actions https://github.com/TheAlgorithms/TypeScript/actions
Projects https://github.com/TheAlgorithms/TypeScript/projects
Security and quality 0 https://github.com/TheAlgorithms/TypeScript/security
Insights https://github.com/TheAlgorithms/TypeScript/pulse
Code https://github.com/TheAlgorithms/TypeScript
Issues https://github.com/TheAlgorithms/TypeScript/issues
Pull requests https://github.com/TheAlgorithms/TypeScript/pulls
Actions https://github.com/TheAlgorithms/TypeScript/actions
Projects https://github.com/TheAlgorithms/TypeScript/projects
Security and quality https://github.com/TheAlgorithms/TypeScript/security
Insights https://github.com/TheAlgorithms/TypeScript/pulse
#305https://github.com/TheAlgorithms/TypeScript/pull/305
[FEATURE]: [ENHANCEMENT]: Add LRU (Least Recently Used) Cache implementationhttps://github.com/TheAlgorithms/TypeScript/issues/304#top
#305https://github.com/TheAlgorithms/TypeScript/pull/305
enhancementNew feature or requesthttps://github.com/TheAlgorithms/TypeScript/issues?q=state%3Aopen%20label%3A%22enhancement%22
https://github.com/MOHD-TAHA-KHAN
MOHD-TAHA-KHANhttps://github.com/MOHD-TAHA-KHAN
on May 7, 2026https://github.com/TheAlgorithms/TypeScript/issues/304#issue-4401242429
enhancementNew feature or requesthttps://github.com/TheAlgorithms/TypeScript/issues?q=state%3Aopen%20label%3A%22enhancement%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.