Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
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 }}
feekay
algorithms
Repository navigation
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
algorithms
algorithms
sorting
on
master
User selector
All users
Datepicker
All time
Commit history
Commits on Sep 25, 2015
Add Python 3 compatibility, fixes #102
Show description for 5667d05
nryoung
committed
5667d05
View commit details
Copy full SHA for 5667d05
View code at this point
Browse repository at this point
Commits on Jul 16, 2014
added unit test for gnome_sort
sawhney
committed
4302572
View commit details
Copy full SHA for 4302572
View code at this point
Browse repository at this point
gnome sort added
sawhney
committed
664a758
View commit details
Copy full SHA for 664a758
View code at this point
Browse repository at this point
Commits on Jun 10, 2014
Merge pull request #60 from fengsp/master
Show description for 98cf034
nryoung
committed
98cf034
View commit details
Copy full SHA for 98cf034
View code at this point
Browse repository at this point
Commits on Jun 7, 2014
Merge pull request #55 from maxsocl/master
Show description for 196d923
nryoung
committed
196d923
View commit details
Copy full SHA for 196d923
View code at this point
Browse repository at this point
Commits on Jun 6, 2014
Merge pull request #53 from kartiknagpal/patch-1
Show description for 9d07c27
nryoung
committed
9d07c27
View commit details
Copy full SHA for 9d07c27
View code at this point
Browse repository at this point
Commits on Jun 4, 2014
Merge pull request #46 from liam-m/patch-3
Show description for 159094c
nryoung
committed
159094c
View commit details
Copy full SHA for 159094c
View code at this point
Browse repository at this point
Commits on Apr 7, 2014
Moved import statement out of sort func in quick_sort_in_place
fengsp
committed
6a4a9f5
View commit details
Copy full SHA for 6a4a9f5
View code at this point
Browse repository at this point
Commits on Nov 15, 2013
Change selection_sort implementation: reduce by half items swapping - change implementation according to wiki pseudocode. Change swap method.
cmltaWt0
committed
80eaadd
View commit details
Copy full SHA for 80eaadd
View code at this point
Browse repository at this point
Commits on Jul 12, 2013
resolving bug for odd length list
kartiknagpal
committed
6b680c6
View commit details
Copy full SHA for 6b680c6
View code at this point
Browse repository at this point
Commits on Apr 13, 2013
Changed base case; single scan through elements
Show description for 9c69c59
liam-m
committed
9c69c59
View commit details
Copy full SHA for 9c69c59
View code at this point
Browse repository at this point
Commits on Mar 12, 2013
added inplace version of quick sort
ConanChou
committed
f2632fe
View commit details
Copy full SHA for f2632fe
View code at this point
Browse repository at this point
tiny optimization
ConanChou
committed
950d7d5
View commit details
Copy full SHA for 950d7d5
View code at this point
Browse repository at this point
Commits on Mar 8, 2013
fix binary tree left and right nodes calculation
ConanChou
committed
b2f22d1
View commit details
Copy full SHA for b2f22d1
View code at this point
Browse repository at this point
Commits on Nov 11, 2012
Massive clean up of documentation.
nryoung
committed
4936858
View commit details
Copy full SHA for 4936858
View code at this point
Browse repository at this point
Commits on Sep 29, 2012
Cleanup, pythonic code
Show description for 34dd16e
Hugh Brown
committed
34dd16e
View commit details
Copy full SHA for 34dd16e
View code at this point
Browse repository at this point
Commits on Sep 24, 2012
Merge pull request #9 from kngspook/cocktail_sort
Show description for 7f6f8ad
nryoung
committed
7f6f8ad
View commit details
Copy full SHA for 7f6f8ad
View code at this point
Browse repository at this point
Added cocktail sort, a bidirectional bubble sort.
kngspook
committed
0b42548
View commit details
Copy full SHA for 0b42548
View code at this point
Browse repository at this point
No need to use temp until a swap actually needs to occur (approximately a 22% speedup).
kngspook
committed
0de7c42
View commit details
Copy full SHA for 0de7c42
View code at this point
Browse repository at this point
Commits on Sep 23, 2012
Cleaned up documentation on bogo_sort
nryoung
committed
e9d43a3
View commit details
Copy full SHA for e9d43a3
View code at this point
Browse repository at this point
Update algorithms/sorting/bogo_sort.py
Show description for 2cda13e
jxtcman
committed
2cda13e
View commit details
Copy full SHA for 2cda13e
View code at this point
Browse repository at this point
Merge pull request #3 from ppinette/master
Show description for e7d89c2
nryoung
committed
e7d89c2
View commit details
Copy full SHA for e7d89c2
View code at this point
Browse repository at this point
Commits on Sep 22, 2012
Updated for pep8 compliance eg. removed/added whitespace, proper indenting, etc.
ppinette
committed
5698f36
View commit details
Copy full SHA for 5698f36
View code at this point
Browse repository at this point
Fixed bogo sort when list size is 1
derv82
committed
6b00880
View commit details
Copy full SHA for 6b00880
View code at this point
Browse repository at this point
Added bogo sort
derv82
committed
44f5895
View commit details
Copy full SHA for 44f5895
View code at this point
Browse repository at this point
Updated README, Added documentation for each algorithm, and fixed binary_search tests
nryoung
committed
56c8cc7
View commit details
Copy full SHA for 56c8cc7
View code at this point
Browse repository at this point
Commits on Sep 7, 2012
Added comb_sort tests and working version of comb_sort
nryoung
committed
862fed8
View commit details
Copy full SHA for 862fed8
View code at this point
Browse repository at this point
Added shell_sort tests and working shell_sort modules
nryoung
committed
5d1834e
View commit details
Copy full SHA for 5d1834e
View code at this point
Browse repository at this point
Commits on Sep 4, 2012
heap_sort.py now sorts correctly.
nryoung
committed
f6678fc
View commit details
Copy full SHA for f6678fc
View code at this point
Browse repository at this point
Commits on Aug 28, 2012
Added skeleton code for heap sort
nryoung
committed
2389097
View commit details
Copy full SHA for 2389097
View code at this point
Browse repository at this point
Commits on Aug 26, 2012
Removed more testing code
nryoung
committed
3f0c20a
View commit details
Copy full SHA for 3f0c20a
View code at this point
Browse repository at this point
Removed extra testing code
nryoung
committed
cfe0862
View commit details
Copy full SHA for cfe0862
View code at this point
Browse repository at this point
Added quick_sort unit tests and quick sort
nryoung
committed
075023d
View commit details
Copy full SHA for 075023d
View code at this point
Browse repository at this point
Commits on Aug 24, 2012
Added merge_sort tests and merge_sort
nryoung
committed
fcf24db
View commit details
Copy full SHA for fcf24db
View code at this point
Browse repository at this point
Revert "added merge_sort tests and merge_sort"
Show description for 76f6dfd
nryoung
committed
76f6dfd
View commit details
Copy full SHA for 76f6dfd
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.