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
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 }}
TheAlgorithms
/
JavaScript
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
5.8k
Star
34.3k
Code
Issues
22
Pull requests
192
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
All pull requests
New pull request
Search pull requests
is
:
pr
state
:
open
is:pr state:open
Clear filter
Search
Pull requests
Open
192
(192)
Closed
1,442
(1,442)
Author
Label
Projects
Milestones
Reviews
Assignee
Sort by
Newest
descending
More items
Comfortable display density
Compact display density
feat(Maths): add baby-step giant-step discrete log
#1914
·
felipeofdev-ai
opened
Aug 3, 2026
·
·
1
feat(Maths): add Tonelli-Shanks modular square root
#1913
·
felipeofdev-ai
opened
Aug 3, 2026
·
·
1
fix: unbiased Fisher-Yates in bogoSort; do not mutate RGB input
#1912
·
zeeshanzzz788
opened
Aug 2, 2026
·
·
2
1
Added BogoSort code
#1911
·
Suraj-12343423
opened
Jul 30, 2026
·
·
1
perf: optimize factor calculation
#1910
·
oozan
opened
Jul 21, 2026
·
·
1
feat: add A* search algorithm
#1909
·
InukaWijerathna
opened
Jun 27, 2026
·
·
1
fix: rgbToHsl no longer mutates its input array
#1908
·
InukaWijerathna
opened
Jun 27, 2026
·
·
1
1
Add return on investment algorithm to Maths
#1906
·
InukaWijerathna
opened
Jun 5, 2026
·
·
3
fix: handle empty array in maximumNonAdjacentSum
#1905
·
shaked-shlomo
opened
Jun 1, 2026
·
·
1
fix: include number/2 divisor in FriendlyNumbers sumDivisors
#1904
·
shaked-shlomo
opened
Jun 1, 2026
·
·
1
Add Tournament Sort implementation
#1903
·
drori12
opened
Jun 1, 2026
·
·
1
fix: correct misleading error message in MidpointIntegration
#1902
·
shaked-shlomo
opened
Jun 1, 2026
·
·
1
Fixed Geometry Orientation Feature
#1901
·
ishika-negi
opened
May 29, 2026
·
·
1
fix: correct Fisher-Yates shuffle bias in bogoSort (#1867)
#1899
·
ayushchaudhari562
opened
May 20, 2026
·
·
1
1
Javascript_shuffle_issue_fixed
#1898
·
KrishnaVipul14
opened
May 16, 2026
·
·
1
feat: add Fenwick Tree implementation with tests
#1897
·
tanjumul
opened
May 15, 2026
·
·
1
feat: add Skip List (Data-Structures/Linked-List)
#1896
·
ChrisJr404
opened
May 5, 2026
·
·
1
fix: improve binary search mid calculation to avoid overflow
#1891
·
satish-sharma360
opened
Apr 8, 2026
·
·
1
feat(maths): add type validation and comprehensive tests for isOdd
#1885
·
sibalonecoding-code
opened
Mar 2, 2026
·
·
1
feat(maths): add type validation and comprehensive tests for isEven
#1884
·
sibalonecoding-code
opened
Mar 1, 2026
·
·
1
Handle negative input in fibonacci implementation
#1881
·
MayankSharma-2812
opened
Feb 2, 2026
·
·
1
Add input validation to rod cutting algorithm
#1880
·
MayankSharma-2812
opened
Feb 1, 2026
·
·
1
Add input validation to longest palindromic subsequence
#1879
·
MayankSharma-2812
opened
Jan 31, 2026
·
·
1
Add input validation to coin change algorithms
#1878
·
MayankSharma-2812
opened
Jan 30, 2026
·
·
1
Add input validation to longest subarray sum algorithm
#1877
·
MayankSharma-2812
opened
Jan 27, 2026
·
·
1
Previous
1
2
3
4
5
6
7
8
Next
You can’t perform that action at this time.