{"id":30249212,"url":"https://github.com/danieljanes/algorithmics","last_synced_at":"2025-08-29T13:21:26.355Z","repository":{"id":303224765,"uuid":"164293208","full_name":"danieljanes/algorithmics","owner":"danieljanes","description":"Educational implementations of common algorithms and data structures","archived":false,"fork":false,"pushed_at":"2020-04-18T18:36:44.000Z","size":51,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-15T08:50:27.796Z","etag":null,"topics":["algorithms","data-structures","educational-project"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danieljanes.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-01-06T09:33:13.000Z","updated_at":"2020-04-18T18:36:46.000Z","dependencies_parsed_at":"2025-08-17T09:15:43.692Z","dependency_job_id":null,"html_url":"https://github.com/danieljanes/algorithmics","commit_stats":null,"previous_names":["danieljanes/algorithmics"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/danieljanes/algorithmics","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danieljanes%2Falgorithmics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danieljanes%2Falgorithmics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danieljanes%2Falgorithmics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danieljanes%2Falgorithmics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danieljanes","download_url":"https://codeload.github.com/danieljanes/algorithmics/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danieljanes%2Falgorithmics/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272691309,"owners_count":24977132,"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-29T02:00:10.610Z","response_time":87,"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":["algorithms","data-structures","educational-project"],"created_at":"2025-08-15T08:43:10.898Z","updated_at":"2025-08-29T13:21:26.350Z","avatar_url":"https://github.com/danieljanes.png","language":"Python","readme":"# Algorithmics\n\n## Introduction\n\nEducational implementations of common algorithms and data structures.\n\n    Warning: The provided implementations are for educational purposes only. The implementations are not production grade and the testing is neither complete nor comprehensive.\n\nData structures:\n\n- `HashMap`: A reimplementation of CPython's built-in `dict` using optimized probing\n- `SimpleHashMap`: A simplified reimplementation of CPython's built-in `dict` using linear probing\n- `Stack`: LIFO linear data structure implemented using a linked list\n- `Queue`: FIFO linear data structure implemented using a linked list\n- `StackBasedQueue`: FIFO linear data structure implemented using two stacks\n\nAlgorithms:\n\n- Binary Search: O(log n) search on sorted lists\n- Linear Search: O(n) search on unsorted lists\n\n## Prerequisites\n\nThis project requires [Python 3](https://python.org) and uses [Bazel](https://bazel.build).\n\n```shell\ngit clone git@github.com:danieljanes/algorithmics.git\ncd algorithmics\nbazel run //algorithmics:hash_map_example\n```\n\n## Run Example\n\n```shell\nbazel run //algorithmics:stack_example\n```\n\n## Test\n\n```shell\nbazel test //algorithmics:all\n```\n\nFor more detailed test outputs pass the `--test_verbose_timeout_warnings` flag:\n\n```shell\nbazel  test //algorithmics:all --test_verbose_timeout_warnings\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanieljanes%2Falgorithmics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanieljanes%2Falgorithmics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanieljanes%2Falgorithmics/lists"}