{"id":27484563,"url":"https://github.com/praisetompane/data_structures","last_synced_at":"2025-04-16T16:44:40.629Z","repository":{"id":268941372,"uuid":"905939588","full_name":"praisetompane/data_structures","owner":"praisetompane","description":"Reimplementation of foundational data structures at a lower level of the stack.","archived":false,"fork":false,"pushed_at":"2025-03-13T19:59:39.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-13T20:37:15.775Z","etag":null,"topics":["data-structures"],"latest_commit_sha":null,"homepage":"","language":"C","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/praisetompane.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}},"created_at":"2024-12-19T20:18:10.000Z","updated_at":"2025-03-13T19:59:43.000Z","dependencies_parsed_at":"2024-12-19T21:24:31.466Z","dependency_job_id":"16728c03-f8b2-487f-9c57-8f32a7f343da","html_url":"https://github.com/praisetompane/data_structures","commit_stats":null,"previous_names":["praisetompane-toy-applications/algorithms_and_data_structures","praise-toy-applications/algorithms_and_data_structures","praisetompane/algorithms_and_data_structures","praisetompane/data_structures"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/praisetompane%2Fdata_structures","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/praisetompane%2Fdata_structures/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/praisetompane%2Fdata_structures/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/praisetompane%2Fdata_structures/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/praisetompane","download_url":"https://codeload.github.com/praisetompane/data_structures/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249259170,"owners_count":21239422,"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":["data-structures"],"created_at":"2025-04-16T16:44:39.972Z","updated_at":"2025-04-16T16:44:40.609Z","avatar_url":"https://github.com/praisetompane.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# data_structures\n![build status](https://github.com/praisetompane/data_structures/actions/workflows/data_structures.yaml/badge.svg)\n\n## Objectives\n- Reimplementation of foundational data structures at a lower level of the stack.\n- Educational project to aquire a deeper understanding of these constructs.\n\n## [Theory](https://github.com/praisetompane/computation_and_information/tree/main/0_theory_of_computation/4_design_and_analysis_of_algorithms/0_data_structures_design_and_analysis)\n\n## Project Structure\n- docs: project documentation lives in here.\n- each data structure is an independent module.\n    - example:\n        - [array](./array/array.h)\n        - [linkedlist](./linkedlist/linkedlist.h)\n        - ...\n\n## Dependencies\n- [Docker](https://docs.docker.com/get-started/)\n\n## Setup Instructions\n- The repository is configured to use [devcontainers](https://containers.dev) for development.\n    - [Developing inside a Container](https://code.visualstudio.com/docs/devcontainers/containers)\n\n\n## Installation\n\n#### Clone Repository\n```shell\ngit clone git@github.com:praisetompane/data_structures.git\n```\n\n#### Build\n```shell\nmake build\n```\n\n#### Test\n```shell\nmake test\n```\n\n#### Execute Installation Script \n```\nsudo make install\n```\n\n## Uninstall\n```\nsudo make uninstall\n```\n\n\n## Usage\n```C\n#include \"array.h\"\n#include \u003cstdio.h\u003e\n#include \u003cassert.h\u003e\n\nint main()\n{\n    printf(\"Test creating, adding and reading from Integer array\\n\");\n    array numbers = new (INT, 10);\n    assert(numbers.length == 0);\n\n    int number = 2;\n    add(\u0026numbers, 0, \u0026number);\n\n    int read_int;\n    read(\u0026numbers, 0, \u0026read_int);\n    assert(read_int == number);\n    printf(\"\\n\");\n\n}\n```\n\n## Git Conventions\n- **NB:** the master is locked and all changes must come through a Pull Request.\n- commit messages:\n    - provide concise commit messages that describe what you have done.\n        ```shell\n        # example:\n        git commit -m \"feat(core): algorithm\" -m\"implement my new shiny faster algorithm\"\n        ```\n    - screen shot of Githb view\n    - references:\n        - https://www.conventionalcommits.org/en/v1.0.0/\n        - https://www.freecodecamp.org/news/how-to-write-better-git-commit-messages/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpraisetompane%2Fdata_structures","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpraisetompane%2Fdata_structures","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpraisetompane%2Fdata_structures/lists"}