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
Repository navigation
Code
Issues
22
(22)
Pull requests
194
(194)
Actions
Projects
Wiki
Security and quality
Insights
More
items
All pull requests
New pull request
Search pull requests
is
:
pr
state
:
open
is:pr state:open
Clear filter
Search
Pull requests
Open
194
(194)
Closed
1,442
(1,442)
Author
Label
Projects
Milestones
Reviews
Assignee
Sort by
Newest
descending
Sort…
Sort by Newest descending
More items
Comfortable display density
Compact display density
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
Avoid mutating input array in bubble sort implementations
#1876
·
MayankSharma-2812
opened
Jan 26, 2026
·
·
1
Handle empty array input in selection sort
#1875
·
MayankSharma-2812
opened
Jan 25, 2026
·
·
1
Handle edge cases in linear search implementation
#1874
·
MayankSharma-2812
opened
Jan 24, 2026
·
·
1
Add input validation for empty or invalid array in binary search
#1873
·
MayankSharma-2812
opened
Jan 23, 2026
·
·
1
Corrected bogosort shuffle logic Issue
#1872
·
PMSukalyanSahu
opened
Jan 22, 2026
·
·
1
Improve N-Queens input validation and solution counting clarity
#1871
·
MayankSharma-2812
opened
Jan 22, 2026
·
·
1
Add Rail Fence cipher implementation in JavaScript
#1869
·
DivyaMadane
opened
Jan 8, 2026
·
·
1
improve explanation for factorial algorithm
#1865
·
Vikash565-dot
opened
Dec 10, 2025
·
·
2
Remove extra test for Project Euler 044
#1864
·
crhallberg
opened
Dec 4, 2025
·
8 of 11 tasks
·
·
1
Faster Project Euler 005.
#1863
·
crhallberg
opened
Dec 4, 2025
·
9 of 11 tasks
·
·
1
test: add IntroSort tests
#1862
·
crhallberg
opened
Dec 3, 2025
·
11 of 14 tasks
·
·
2
added changes to your bellmanford.js
#1861
·
Ujwal200707
opened
Nov 26, 2025
·
·
Create InsertionSort
#1860
·
koushithatadiboina
opened
Nov 25, 2025
·
2 of 11 tasks
·
·
Add Palindrome Partitioning algorithm
#1859
·
bangarumahesh22
opened
Nov 25, 2025
·
11 tasks
·
·
1
Create BubbleSortAlgo-JS
#1858
·
koushitha-30734
opened
Nov 25, 2025
·
6 of 12 tasks
·
·
1
Add transpose function for a 2D array
#1857
·
HarshNagpal07
opened
Nov 18, 2025
·
·
2
Fix HTML and JavaScript syntax errors for issue #1851
#1855
·
Kurva-Pravalika
opened
Nov 6, 2025
·
11 tasks
·
·
2
Added the new algorithm TwoSum using array in Data Structure
#1854
·
codewithRakshita
opened
Nov 5, 2025
·
11 tasks
·
·
1
Added test script for Search/StringSearch.js
#1853
·
0xprincedev
opened
Nov 5, 2025
·
9 of 12 tasks
·
·
1
Added test script for Timing-Functions/IntervalTimer.js
#1852
·
0xprincedev
opened
Nov 5, 2025
·
9 of 12 tasks
·
·
1
docs: Improve comments and documentation in binary search algorithm
#1849
·
ITZ-NIHALPATEL
opened
Oct 25, 2025
·
9 of 11 tasks
·
·
2
Implemented FFT convolution and lazy segment tree — fast and efficient
#1848
·
jsjgdh
opened
Oct 23, 2025
·
·
1
Changed implementation of slope calculation
#1847
·
Haarush2006
opened
Oct 23, 2025
·
9 tasks done
·
·
1
2
Previous
1
2
3
4
5
6
7
8
Next
You can’t perform that action at this time.