{"id":27201096,"url":"https://github.com/gregl83/algostru","last_synced_at":"2025-04-09T21:55:08.585Z","repository":{"id":57482958,"uuid":"321852281","full_name":"gregl83/algostru","owner":"gregl83","description":"Algorithms and Structures powered by Rust","archived":false,"fork":false,"pushed_at":"2024-06-20T16:32:24.000Z","size":157,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T21:55:03.849Z","etag":null,"topics":["algorithm","algorithms","asymptotic-analysis","big-o-notation","data-structures","rust","struct"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gregl83.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-16T03:03:36.000Z","updated_at":"2024-06-20T16:32:27.000Z","dependencies_parsed_at":"2022-08-27T21:02:10.848Z","dependency_job_id":null,"html_url":"https://github.com/gregl83/algostru","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregl83%2Falgostru","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregl83%2Falgostru/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregl83%2Falgostru/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregl83%2Falgostru/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gregl83","download_url":"https://codeload.github.com/gregl83/algostru/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248119394,"owners_count":21050754,"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","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":["algorithm","algorithms","asymptotic-analysis","big-o-notation","data-structures","rust","struct"],"created_at":"2025-04-09T21:55:07.976Z","updated_at":"2025-04-09T21:55:08.573Z","avatar_url":"https://github.com/gregl83.png","language":"Rust","readme":"[![Build Status](https://github.com/gregl83/algostru/workflows/CI/badge.svg?branch=main)](https://github.com/gregl83/algostru/actions?query=workflow%3ACI+branch%3Amain)\n[![Crates.io](https://img.shields.io/crates/v/algostru.svg)](https://crates.io/crates/algostru)\n[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/gregl83/algostru/blob/master/LICENSE)\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"/assets/algostru.png\" /\u003e\u003c/p\u003e\n\n# algostru\n\nAlgorithms and Structures powered by Rust.\n\n## Stability\n\nExperimental\n\nDemonstration of Asymptotic Notation without granular scrutiny on operation specific performance.\n\n## Contents\n\nThis repository is comprised of a command line interface tool and library of algorithms and data structures.\n\n### Command Line Interface (CLI)\n\nCLI tool *might* grow into toolset to aid with algorithm and data structure implementations.\n\nFor now, there is simply a **Big-O Cheatsheet** rendered in your terminal using ASCII.\n\nEither `cargo run` or `cargo install` should work fine from repository root.\n\n### Library\n\n- Arithmetic\n  - Multiplication\n    - [Karatsuba](/src/arithmetic/multiplication/karatsuba.rs) *O(n^log3)*\n- Collections\n  - Multiplication\n    - [Strassen](/src/collections/multiplication/strassen.rs) *O(n^log7)*\n  - Ordering\n    - [Bubble Sort](/src/collections/ordering/bubble_sort.rs) *O(n^2)*\n    - [Insertion Sort](/src/collections/ordering/insertion_sort.rs) *O(n^2)*\n    - [Merge Sort](/src/collections/ordering/merge_sort.rs) *O(n log(n))*\n    - [Merge Sort Inversion Count](/src/collections/ordering/merge_sort_inversion_count.rs) *O(n log(n))*\n    - [Quick Sort](/src/collections/ordering/quick_sort.rs) *O(n log(n))*\n    - [Selection Sort](/src/collections/ordering/selection_sort.rs) *O(n^2)*\n    - [Tim Sort](/src/collections/ordering/tim_sort.rs) *O(n log(n))*\n  - Search\n    - [Closest Pair](/src/collections/search/closest_pair.rs) *O(n log(n))*\n- Trees\n  - [Binary Search Tree](/src/trees/binary_search_tree.rs)\n  - [Merkle Tree](/src/trees/merkle_tree.rs)\n  - [Radix Tree](/src/trees/radix_tree.rs)\n\n## Usage\n\nSee [docs.rs/algostru](https://docs.rs/algostru/).\n\n## References\n\n- [Stanford Algorithms Specialization](https://www.coursera.org/specializations/algorithms)\n- [Mathematics for Computer Science](http://courses.csail.mit.edu/6.042/spring18/mcs.pdf)\n- [Mathematics for Computer Science Video Lectures](https://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-042j-mathematics-for-computer-science-fall-2010/video-lectures/)\n- [Big-O Cheatsheet](https://www.bigocheatsheet.com/)\n\n## License\n\n[MIT](LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregl83%2Falgostru","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgregl83%2Falgostru","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregl83%2Falgostru/lists"}