{"id":15009797,"url":"https://github.com/luke-zhang-04/sorting-algorithms","last_synced_at":"2026-02-08T21:32:36.654Z","repository":{"id":134099937,"uuid":"229459788","full_name":"Luke-zhang-04/Sorting-Algorithms","owner":"Luke-zhang-04","description":"Sorting algorithms in Python 3, Golang, TypeScript 3, and C++ 11","archived":false,"fork":false,"pushed_at":"2020-08-17T17:12:24.000Z","size":365,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-06T17:03:45.652Z","etag":null,"topics":["cpp","golang","javascript","python3","sorting-algorithms","typescript"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Luke-zhang-04.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-12-21T17:19:21.000Z","updated_at":"2020-08-17T17:12:27.000Z","dependencies_parsed_at":"2023-05-26T12:15:21.131Z","dependency_job_id":null,"html_url":"https://github.com/Luke-zhang-04/Sorting-Algorithms","commit_stats":null,"previous_names":["luke-zhang-04/sorting_algorithms"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Luke-zhang-04/Sorting-Algorithms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luke-zhang-04%2FSorting-Algorithms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luke-zhang-04%2FSorting-Algorithms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luke-zhang-04%2FSorting-Algorithms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luke-zhang-04%2FSorting-Algorithms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Luke-zhang-04","download_url":"https://codeload.github.com/Luke-zhang-04/Sorting-Algorithms/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luke-zhang-04%2FSorting-Algorithms/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271369835,"owners_count":24747801,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-20T02:00:09.606Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpp","golang","javascript","python3","sorting-algorithms","typescript"],"created_at":"2024-09-24T19:28:38.031Z","updated_at":"2026-02-08T21:32:36.622Z","avatar_url":"https://github.com/Luke-zhang-04.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sorting Algorithms #\nA collection of sorting algorithms in Python 3, Golang, TypeScript, and C++. Algorithms range from bogo sort to bubble sort to merge sort. I also use tkinter to animate the algorithms with bar graphs.\n\n## How to run ##\n### Python ###\n#### Animated ####\n##### Install dependencies #####\n```bash\npip install -r requirements.txt\n```\n##### Run Program #####\n```bash\npython3 . animated\n```\n#### Normal ####\n```bash\npython3 . \u003csortNames\u003e\n```\nE.g\n```bash\npython3 . bogoSort bubbleSort\n```\n\n### Node JS ###\n#### Install dependencies ####\nWith Yarn:\n```bash\nyarn --frozen-lockfile\n```\nWith NPM:\n```bash\nnpm ci\n```\n### Build ###\nWith Yarn:\n```bash\nyarn build\n```\nWith NPM:\n```bash\nnpm run build\n```\n\n#### Run Program ####\nFor all options, run\n```bash\nnode . --help\n```\n```bash\nOptions:\n  -bogo, --bogoSort                Run bogo sort algorithm\n  -bubble, --bubbleSort            Run bubble sort algorithm\n  -cocktail, --cocktailShakerSort  Run cocktail shaker sort algorithm\n  -comb, --combSort                Run comb sort algorithm\n  -counting, --countingSort        Run counting sort algorithm\n  -gnome, --gnomeSort              Run gnome sort algorithm\n  -insertion, --insertionSort      Run insertion sort algorithm\n  -merge, --mergeSort              Run merge sort algorithm\n  -mergeIP, --mergeSortInPlace     Run in-place merge sort algorithm\n  -quick, --quickSort              Run quickSort sort algorithm\n  -lsd, --radixLSD                 Run radix sort least significant digit algorithm\n  -msd, --radixMSD                 Run raidx sort most significant digit algorithm\n  -shell, --shellSort              Run raidx sort algorithm\n  -tim, --timSort                  Run tim sort algorithm\n  -h, --help                       display help for command\n```\nExample:\n```bash\nnode . -bogo --bubbleSort\n```\n\n### Go ###\n#### Run directly\n```bash\ngo run main.go \u003csortnames\u003e\n```\n```bash\ngo run main.go bogo bubbleSort\n```\n#### Compile first ####\n##### Build/compile #####\n```bash\ngo build main.go\n```\n##### Run/execute #####\n```bash\n./main \u003csortnames\u003e\n```\nE.g\n```bash\ngo build main.go\n./main bogo bubbleSort\n```\n\n### C++ ###\n#### Build/compile ####\n```bash\nmake\n```\n#### Run/execute ####\n```bash\n./bin \u003csortnames\u003e\n```\n```bash\n./bin bogo bubbleSort\n```\nE.g\n```bash\nmake\n./bin bogo bubbleSort\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluke-zhang-04%2Fsorting-algorithms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluke-zhang-04%2Fsorting-algorithms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluke-zhang-04%2Fsorting-algorithms/lists"}