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 }}
TheAlgorithms
/
Lua
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
63
Star
363
Code
Issues
1
Pull requests
1
Actions
Projects
0
Security
Uh oh!
There was an error while loading.
Please reload this page
.
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security
Insights
Commits
Branch selector
main
User selector
All users
Datepicker
All time
Commit History
Commits on Oct 10, 2024
Add counting sort (#38)
icemberg
authored
cedc141
Copy full SHA for cedc141
Commits on Aug 2, 2024
Bump gitpod/workspace-base
Show description for b7bf87b
dependabot[bot]
authored and
appgurueu
committed
b7bf87b
Copy full SHA for b7bf87b
Commits on Jun 9, 2024
Bump gitpod/workspace-base
Show description for 4738a1b
dependabot[bot]
authored and
appgurueu
committed
4738a1b
Copy full SHA for 4738a1b
Commits on May 3, 2024
Add big unsigned integers
appgurueu
committed
fd8b29b
Copy full SHA for fd8b29b
Bump gitpod/workspace-base
Show description for b2ae738
dependabot[bot]
authored and
appgurueu
committed
b2ae738
Copy full SHA for b2ae738
Commits on Apr 22, 2024
Bump gitpod/workspace-base
Show description for 8e93a93
dependabot[bot]
authored and
appgurueu
committed
8e93a93
Copy full SHA for 8e93a93
Change dependabot docker update check interval to monthly
Show description for 81ad8f4
appgurueu
authored
81ad8f4
Copy full SHA for 81ad8f4
Commits on Apr 20, 2024
Bump gitpod/workspace-base
Show description for 53c5502
dependabot[bot]
authored and
appgurueu
committed
53c5502
Copy full SHA for 53c5502
Commits on Apr 10, 2024
Bump gitpod/workspace-base
Show description for 8812c01
dependabot[bot]
authored and
appgurueu
committed
8812c01
Copy full SHA for 8812c01
Commits on Apr 8, 2024
Add strongly connected components graph algorithm
appgurueu
committed
fd03d46
Copy full SHA for fd03d46
Commits on Mar 26, 2024
Fix typos (#25)
vil02
authored
3542285
Copy full SHA for 3542285
CI: Bump gitpod/workspace-base version (#28)
Show description for 029005d
dependabot[bot]
authored
029005d
Copy full SHA for 029005d
CI: Bump JohnnyMorganz/stylua-action version (#27)
Show description for cf0b551
dependabot[bot]
authored
cf0b551
Copy full SHA for cf0b551
Configure dependabot (#26)
vil02
authored
a2bab34
Copy full SHA for a2bab34
Commits on Mar 12, 2024
Fix typo
appgurueu
authored
1a620ed
Copy full SHA for 1a620ed
Commits on Feb 8, 2024
Improve `median_heap` tests (#24)
vil02
authored
61ec71e
Copy full SHA for 61ec71e
Commits on Feb 7, 2024
Add missing test case for `vector:normalize()` (#23)
vil02
authored
c026a97
Copy full SHA for c026a97
Commits on Feb 6, 2024
Support negative inputs in `fraction.from_float_string` (#22)
vil02
authored
b48e105
Copy full SHA for b48e105
Add test for `solve_quadratic_equation` with no solution (#21)
vil02
authored
5f5a416
Copy full SHA for 5f5a416
Commits on Dec 3, 2023
Optimize Sieve of Eratosthenes (#20)
vil02
authored
1c41186
Copy full SHA for 1c41186
Commits on Nov 26, 2023
Add median (#19)
vil02
authored
e823618
Copy full SHA for e823618
Commits on Nov 22, 2023
Add Aliquot sum (#18)
vil02
authored
2bd33e6
Copy full SHA for 2bd33e6
Commits on Nov 16, 2023
Add simultaneous congruence solving using the Chinese remainder theorem (#17)
vil02
authored
90b32ed
Copy full SHA for 90b32ed
Fix `modular_inverse` not handling `m == 1` correctly (#16)
vil02
authored
1e3b32f
Copy full SHA for 1e3b32f
Commits on Nov 13, 2023
Add Hamming distance for strings (#15)
vil02
authored
a048e9e
Copy full SHA for a048e9e
Commits on Nov 11, 2023
Add modular inverse (#13)
vil02
authored
0428a2a
Copy full SHA for 0428a2a
Commits on Nov 10, 2023
Fix style checking action not checking `.spec` (#14)
vil02
authored
c36e2b1
Copy full SHA for c36e2b1
Commits on Nov 8, 2023
Clean up `code_checks.yml` (#12)
vil02
authored
dd60c56
Copy full SHA for dd60c56
Configure Gitpod (#11)
vil02
authored
7136332
Copy full SHA for 7136332
Commits on Nov 6, 2023
Bump Lua action version (#10)
vil02
authored
862ee5c
Copy full SHA for 862ee5c
Bump checkout action version (#9)
vil02
authored
a58212a
Copy full SHA for a58212a
Commits on Nov 5, 2023
Format file after StyLua upgrade
appgurueu
committed
4de494e
Copy full SHA for 4de494e
Bump workflow versions (fixes StyLua bug)
appgurueu
committed
6b55674
Copy full SHA for 6b55674
Add matrices
appgurueu
committed
3861f3c
Copy full SHA for 3861f3c
Commits on Oct 2, 2023
Add Euler totient
PraneethJain
authored and
appgurueu
committed
a106bb9
Copy full SHA for a106bb9
Pagination
Previous
Next
You can’t perform that action at this time.