{"id":15343713,"url":"https://github.com/spacewander/algorithmanddatastructure","last_synced_at":"2025-10-07T05:34:38.988Z","repository":{"id":25108957,"uuid":"28530308","full_name":"spacewander/AlgorithmAndDataStructure","owner":"spacewander","description":"Implement algorithms and data structures in different languages","archived":false,"fork":false,"pushed_at":"2025-09-24T13:02:01.000Z","size":572,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-24T15:09:50.212Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","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/spacewander.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}},"created_at":"2014-12-27T06:28:21.000Z","updated_at":"2025-09-24T13:02:05.000Z","dependencies_parsed_at":"2022-08-23T19:40:42.478Z","dependency_job_id":null,"html_url":"https://github.com/spacewander/AlgorithmAndDataStructure","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/spacewander/AlgorithmAndDataStructure","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacewander%2FAlgorithmAndDataStructure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacewander%2FAlgorithmAndDataStructure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacewander%2FAlgorithmAndDataStructure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacewander%2FAlgorithmAndDataStructure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spacewander","download_url":"https://codeload.github.com/spacewander/AlgorithmAndDataStructure/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spacewander%2FAlgorithmAndDataStructure/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278723919,"owners_count":26034691,"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-10-07T02:00:06.786Z","response_time":59,"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":[],"created_at":"2024-10-01T10:49:17.034Z","updated_at":"2025-10-07T05:34:38.983Z","avatar_url":"https://github.com/spacewander.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"Implement ordinary algorithms in different languages.\n\n## Algorithm\n\nTo see what algorithms are implemented, look at Algorithms.md.\n\n## Run tests\n\nTo run tests, look at steps below :\n\n### C++ \n\nGTest is used to write unit tests for c++.\nIf you are not using Linux x86_64, or you want to use a different version of GTest, you may have to go to GTest's official site and search for installation. You may have to modify `c++/Makefile`, too.\nOtherwise, you can simply `make` in the `c++` directory, or `make TEST=set` to run a specific test file like `setTest.cpp`.\n\n### Python\n\n```\ncd python\nsudo pip install pytest\npy.test\n# or run py.test -q test_modifying_sequence.py, if you only want to run tests in specific file.\n```\n\n### Javascript\n\n```\ncd javascript\nsudo npm install // install mocha, gulp, and more\ngulp\n```\n\n### Coffeescript\n\n```\ncd coffeescript\n# install mocha globally, and then\nmake \n# or make TEST=modifying_sequence to run a specific test file, like modifying_sequence.coffee\n```\n\n### Go\n\n```\n# please set up GOPATH for yourself\ncd go\n# install onsi/ginkgo and onsi/gomega\ngo test\n```\n\n### Ruby\n\n```\ncd ruby\nrake\n# or rake TEST=non_modifying_sequence\n```\n\n### Lua\n\n```\ncd lua\nbusted # run all *_spec.lua tests\n```\n\n### PHP\n\n```\ncd php\nphpunit --bootstrap autoload.php .\n```\n\n### Rust\n\n```\ncd rust\ncargo test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspacewander%2Falgorithmanddatastructure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspacewander%2Falgorithmanddatastructure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspacewander%2Falgorithmanddatastructure/lists"}