Skip to content
Navigation Menu
Toggle navigation
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Spark
Build and deploy intelligent apps
GitHub Models
Manage and compare prompts
MCP Registry
New
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search or jump to...
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Appearance settings
Resetting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
trekhleb
/
javascript-algorithms
Public
Notifications
You must be signed in to change notification settings
Fork
31.1k
Star
195k
Code
Issues
138
Pull requests
246
Actions
Security
Uh oh!
There was an error while loading.
Please reload this page
.
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security
Insights
Commits
Branch selector
master
User selector
All users
Datepicker
All time
Commit History
Commits on Nov 23, 2025
Delete .github/FUNDING.yml
trekhleb
authored
4ba97b9
Copy full SHA for 4ba97b9
Commits on Nov 9, 2025
Add Dijkstra algorithm illustrations and explanations
trekhleb
committed
2834a06
Copy full SHA for 2834a06
Commits on Nov 8, 2025
Add Dijkstra algorithm illustrations and explanations
trekhleb
committed
f41e6ab
Copy full SHA for f41e6ab
Add Dijkstra algorithm illustrations and explanations
trekhleb
committed
0627034
Copy full SHA for 0627034
Commits on Nov 7, 2025
Add Dijkstra algorithm illustrations and explanations
trekhleb
committed
e2ed5cc
Copy full SHA for e2ed5cc
Add Dijkstra algorithm illustrations and explanations
trekhleb
committed
a88971d
Copy full SHA for a88971d
Add Dijkstra algorithm illustrations and explanations
trekhleb
committed
5a65dcb
Copy full SHA for 5a65dcb
Commits on Oct 22, 2025
Update README notes
trekhleb
committed
c80e10c
Copy full SHA for c80e10c
Commits on Feb 12, 2025
Move "valid parentheses" to the "Uncategorized" section
trekhleb
committed
e40a67b
Copy full SHA for e40a67b
Fix language code
trekhleb
committed
c5dd048
Copy full SHA for c5dd048
feat: Added hebrew translation to README in all languages
MaxwellKnight
authored and
trekhleb
committed
bd49909
Copy full SHA for bd49909
"Italiano" is "italian" in italian :)
gianpaj
authored and
trekhleb
committed
49e0814
Copy full SHA for 49e0814
Added algorithm problem that can be solved using stack data structure
obafemitayor
authored and
trekhleb
committed
ae869ef
Copy full SHA for ae869ef
Commits on Jul 13, 2024
Update README.uk-UA.md (#991)
Show description for ca3d16d
vladsosnov
and
trekhleb
authored
ca3d16d
Copy full SHA for ca3d16d
Fix typos README.es-ES for linked list (#850)
vcgtz
authored
e7f30a7
Copy full SHA for e7f30a7
Add es-ES translation to search/binary-search (#893)
MasterKrab
authored
471e6d0
Copy full SHA for 471e6d0
Update README.md by correcting Turkish lang name (#904)
Show description for 351a63a
alaztetik
and
trekhleb
authored
351a63a
Copy full SHA for 351a63a
update the ES README a lenguage correction (#952)
lilipops
authored
0e2b257
Copy full SHA for 0e2b257
Update README.ar-AR.md (#959)
Show description for 0c054f7
YoussefRabeiii
and
trekhleb
authored
0c054f7
Copy full SHA for 0c054f7
update LRU Cache translation for ko-KR (#987)
Show description for 6509304
leahincom
and
trekhleb
authored
6509304
Copy full SHA for 6509304
Update .eslintrc, improve UK translation for LinkedList (#1128)
Show description for 09afeb5
dolgachio
and
trekhleb
authored
09afeb5
Copy full SHA for 09afeb5
feat: added uzbek language (#1082)
Show description for d7a41a6
softXengineer
and
trekhleb
authored
d7a41a6
Copy full SHA for d7a41a6
Update README.md (#1141)
Show description for 9046d80
azarboon
and
trekhleb
authored
9046d80
Copy full SHA for 9046d80
Fix four typos (#1139)
Sajjon
authored
e5b5944
Copy full SHA for e5b5944
Commits on Mar 9, 2024
Ad hoc versions of MinHeap, MaxHeap, and DisjointSet (#1117)
Show description for 2c67b48
trekhleb
authored
2c67b48
Copy full SHA for 2c67b48
feat: added korean translation for trie (#1071)
Show description for ac78353
hanliang38
and
trekhleb
authored
ac78353
Copy full SHA for ac78353
fix binary search typo (#1079)
Show description for 8959566
ir3ne
and
trekhleb
authored
8959566
Copy full SHA for 8959566
Add Vietnamese translation for LinkedList (#1086)
Show description for 729bc4d
vivitruong
and
trekhleb
authored
729bc4d
Copy full SHA for 729bc4d
Vietsub (#1088)
Show description for 8d1f473
vivitruong
authored
8d1f473
Copy full SHA for 8d1f473
Update README.md (#1093)
Arpitgoyalgg
authored
111ea3d
Copy full SHA for 111ea3d
Commits on Jul 21, 2023
Update README.md
trekhleb
authored
76617fa
Copy full SHA for 76617fa
Commits on Apr 10, 2023
Add repo size
trekhleb
committed
8c5e5f4
Copy full SHA for 8c5e5f4
Fix repo build for M1 MacBooks (#1029)
trekhleb
authored
14c5636
Copy full SHA for 14c5636
Commits on Mar 25, 2023
Update Bakers.
trekhleb
committed
bbbfd32
Copy full SHA for bbbfd32
Commits on Mar 16, 2023
feat: added Ukrainian translation for factorial (#1006)
Show description for b9304f4
YaroslavPodorvanov
and
VictorPoprozhuk
authored
b9304f4
Copy full SHA for b9304f4
Pagination
Previous
Next
You can’t perform that action at this time.