Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
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
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
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
/
Sign in
Sign up
Appearance settings
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
31k
Star
196k
Code
Issues
135
Pull requests
268
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Actions: trekhleb/javascript-algorithms
Actions
All workflows
Workflows
CI
CI
CodeQL Advanced
CodeQL Advanced
Copilot
Copilot
Show more workflows...
Management
Caches
CI
CI
Actions
Loading...
Loading
Sorry, something went wrong.
Uh oh!
There was an error while loading.
Please reload this page
.
will be ignored since log searching is not yet available
Show workflow options
Create status badge
Create status badge
Loading
Uh oh!
There was an error while loading.
Please reload this page
.
CI.yml
will be ignored since log searching is not yet available
50 workflow runs
50 workflow runs
Event
Filter by Event
Sorry, something went wrong.
Filter
Loading
Sorry, something went wrong.
No matching events.
Status
Filter by Status
Sorry, something went wrong.
Filter
Loading
Sorry, something went wrong.
No matching statuses.
Branch
Filter by Branch
Sorry, something went wrong.
Filter
Loading
Sorry, something went wrong.
No matching branches.
Actor
Filter by Actor
Sorry, something went wrong.
Filter
Loading
Sorry, something went wrong.
No matching users.
code ql
CI
#879:
Pull request
#2195
synchronize by
lisagorewitdecker
Action required
lisagorewitdecker:master
lisagorewitdecker:master
Action required
View #2195
View workflow file
fix(#2057): return ordered cycle path array instead of parent mapping in detectUndirectedCycle
CI
#878:
Pull request
#2198
opened by
gonzoblasco
Action required
gonzoblasco:fix-2057-cycle-path
gonzoblasco:fix-2057-cycle-path
Action required
View #2198
View workflow file
docs: fix typos in valid parentheses README
CI
#877:
Pull request
#2188
synchronize by
chenlichao
Action required
chenlichao:docs/fix-valid-parentheses-typos-20260703
chenlichao:docs/fix-valid-parentheses-typos-20260703
Action required
View #2188
View workflow file
fix: update tail when inserting at the end of LinkedList
CI
#876:
Pull request
#2106
synchronize by
yorunohoshi
Action required
yorunohoshi:fix/linked-list-insert-tail
yorunohoshi:fix/linked-list-insert-tail
Action required
View #2106
View workflow file
fix: validate negative input in factorialRecursive function
CI
#875:
Pull request
#2197
synchronize by
REAPER2705
Action required
REAPER2705:fix/validate-negative-input-factorial
REAPER2705:fix/validate-negative-input-factorial
Action required
View #2197
View workflow file
Remove Project Backers section
CI
#874:
Commit
85293e3
pushed by
trekhleb
36s
master
master
36s
View workflow file
Add links to sattelite apps (thinking and drawing)
CI
#873:
Commit
e087629
pushed by
trekhleb
41s
master
master
41s
View workflow file
Add links to sattelite apps (thinking and drawing)
CI
#872:
Commit
5fcf3d7
pushed by
trekhleb
27s
master
master
27s
View workflow file
code ql
CI
#871:
Pull request
#2195
synchronize by
lisagorewitdecker
Action required
lisagorewitdecker:master
lisagorewitdecker:master
Action required
View #2195
View workflow file
fix: validate negative input in factorialRecursive function
CI
#870:
Pull request
#2197
opened by
REAPER2705
Action required
REAPER2705:fix/validate-negative-input-factorial
REAPER2705:fix/validate-negative-input-factorial
Action required
View #2197
View workflow file
Fix correctness bugs found in a full-codebase audit
CI
#862:
Pull request
#2187
synchronize by
moshejs
42s
moshejs:codebase-audit-fixes
moshejs:codebase-audit-fixes
42s
View #2187
View workflow file
Fix correctness bugs found in a full-codebase audit
CI
#861:
Pull request
#2187
opened by
moshejs
31s
moshejs:codebase-audit-fixes
moshejs:codebase-audit-fixes
31s
View #2187
View workflow file
Recompute graph edge key after reverse to reflect new direction
CI
#859:
Commit
0f52fba
pushed by
trekhleb
34s
master
master
34s
View workflow file
Fix graph reverse method
CI
#858:
Commit
dc12f1f
pushed by
trekhleb
34s
master
master
34s
View workflow file
Fix BUG in graph reverse method & Add needed tests
CI
#857:
Pull request
#916
synchronize by
trekhleb
36s
itsamirhn:fix-graph-reverse
itsamirhn:fix-graph-reverse
36s
View #916
View workflow file
feat: add Comb Sort algorithm implementation
CI
#856:
Pull request
#2177
synchronize by
trekhleb
26s
divorahim13:feat/add-comb-sort
divorahim13:feat/add-comb-sort
26s
View #2177
View workflow file
Deque: use DoublyLinkedList so both ends are truly O(1)
CI
#852:
Commit
7563da8
pushed by
trekhleb
39s
master
master
39s
View workflow file
feat: add Deque data structure with tests and README
CI
#851:
Commit
6bb32ed
pushed by
trekhleb
42s
master
master
42s
View workflow file
feat: add Deque data structure with tests and README
CI
#850:
Pull request
#2157
synchronize by
trekhleb
43s
shahidansari311:feat/deque-data-structure
shahidansari311:feat/deque-data-structure
43s
View #2157
View workflow file
Use last element as QuickSort pivot
CI
#849:
Pull request
#2185
opened by
natecl
36s
natecl:codex/quick-sort-last-pivot-265
natecl:codex/quick-sort-last-pivot-265
36s
View #2185
View workflow file
Fix duplicated words in comments and test description
CI
#848:
Commit
0ae5dd8
pushed by
trekhleb
39s
master
master
39s
View workflow file
fix(pt-BR): 'Espaçø'->'Espaço' em linked-list
CI
#847:
Commit
758b93a
pushed by
trekhleb
42s
master
master
42s
View workflow file
fix(pt-BR): correções de tradução em queue, insertion-sort e linked-list
CI
#846:
Pull request
#2174
synchronize by
trekhleb
42s
guuszz:fix/pt-br-typos
guuszz:fix/pt-br-typos
42s
View #2174
View workflow file
refactor: replace deprecated String.prototype.substr() with substring()
CI
#845:
Commit
4ed3123
pushed by
trekhleb
38s
master
master
38s
View workflow file
refactor: replace deprecated String.prototype.substr() with substring()
CI
#844:
Pull request
#2181
synchronize by
trekhleb
37s
fauzan171:fix/replace-deprecated-substr
fauzan171:fix/replace-deprecated-substr
37s
View #2181
View workflow file
Previous
1
2
Next
You can’t perform that action at this time.