Skip to content
Navigation Menu
Toggle navigation
Sign in
Product
GitHub Copilot
Write better code with AI
GitHub Advanced Security
Find and fix vulnerabilities
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Discussions
Collaborate outside of code
Code Search
Find more, search less
Explore
Why GitHub
All features
Documentation
GitHub Skills
Blog
Solutions
By company size
Enterprises
Small and medium teams
Startups
Nonprofits
By use case
DevSecOps
DevOps
CI/CD
View all use cases
By industry
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
Topics
AI
DevOps
Security
Software Development
View all
Explore
Learning Pathways
Events & Webinars
Ebooks & Whitepapers
Customer Stories
Partners
Executive Insights
Open Source
GitHub Sponsors
Fund open source developers
The ReadME Project
GitHub community articles
Repositories
Topics
Trending
Collections
Enterprise
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
Reseting 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 }}
TheAlgorithms
/
JavaScript
Public
Notifications
You must be signed in to change notification settings
Fork
5.7k
Star
33.1k
Code
Issues
8
Pull requests
114
Actions
Projects
0
Wiki
Security
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security
Insights
Commits
Breadcrumbs
History for
JavaScript
Dynamic-Programming
MaxProductOfThree.js
on
master
User selector
All users
Datepicker
All time
Commit History
Commits on Oct 3, 2023
feat: Test running overhaul, switch to Prettier & reformat everything (#1407)
Show description for 86d333e
3 people
authored
86d333e
Copy full SHA for 86d333e
Commits on Feb 18, 2023
fix: fixed error in the MaxProductOfThree algorithm (#1295)
Show description for 6aa3314
Xolvez
authored
6aa3314
Copy full SHA for 6aa3314
Commits on Oct 21, 2021
`npm run style` result
VinWare
committed
5ccfafe
Copy full SHA for 5ccfafe
Commits on Oct 15, 2021
added throwing an error when array with <3 items is passed
devcer
committed
67ec915
Copy full SHA for 67ec915
Commits on Oct 14, 2021
added a link to explanation
devcer
committed
b3377bb
Copy full SHA for b3377bb
Added Maximum product of 3 numbers in an array
devcer
committed
41ddee7
Copy full SHA for 41ddee7
Loading
You can’t perform that action at this time.