{"id":20340623,"url":"https://github.com/cleve/data-structures","last_synced_at":"2025-06-15T07:06:01.710Z","repository":{"id":139967659,"uuid":"219527451","full_name":"cleve/data-structures","owner":"cleve","description":"Data structures","archived":false,"fork":false,"pushed_at":"2020-07-27T00:57:59.000Z","size":36,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-04T14:49:21.330Z","etag":null,"topics":["binary-search-tree","binary-tree","data-structures","hash","linked-list","trees"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cleve.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2019-11-04T14:58:57.000Z","updated_at":"2020-07-27T00:58:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"36f95039-7af6-4db8-a4fd-f6ffcf3567dd","html_url":"https://github.com/cleve/data-structures","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cleve/data-structures","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cleve%2Fdata-structures","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cleve%2Fdata-structures/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cleve%2Fdata-structures/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cleve%2Fdata-structures/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cleve","download_url":"https://codeload.github.com/cleve/data-structures/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cleve%2Fdata-structures/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259935602,"owners_count":22934387,"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":["binary-search-tree","binary-tree","data-structures","hash","linked-list","trees"],"created_at":"2024-11-14T21:22:54.860Z","updated_at":"2025-06-15T07:06:01.694Z","avatar_url":"https://github.com/cleve.png","language":"Python","readme":"# Data Structure\n\nData structures are written in Python3. You can find the most common structures, \nwith a friendly CLI for each one. The structures are separated into \npackages that allow you to use/include it for your particular purpose.\n\n## Trees\n\nThe tree structures are under the **trees** directory. To use the interactive\nCLI, you need to run:\n\n```python\npython3 cli_tree.py\n```\n\n## Linked list\n\nThe list structure is under the **linked_list** directory. To use the interactive\nCLI, you need to run:\n\n```python\npython3 cli_list.py\n```\n\n## Hash Table\n\nThe hash structure is under the **hash** directory. To use the interactive\nCLI, you need to run:\n\n```python\npython3 cli_hash.py\n```\n\nThe current hash function is based in the simple length of the value provided. To solve collisions\na linked list is implemented for the hash involved.\n\n## DEV\n\nIn every main class there is a DEBUG variable, setting it to True, you will be able to \nsee extra information in the CLI.\n\n## Unittest\n\nExecute the next command in the root directory:\n\n```sh\n# -v to add more details, you can remove this arg.\n# Use python3 if you have both versions.\npython -m unittest discover tests -v\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcleve%2Fdata-structures","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcleve%2Fdata-structures","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcleve%2Fdata-structures/lists"}