{"id":24635154,"url":"https://github.com/shinexia/algorithm-labs","last_synced_at":"2026-01-12T02:58:35.729Z","repository":{"id":32650940,"uuid":"135567641","full_name":"shinexia/algorithm-labs","owner":"shinexia","description":"algorithm labs","archived":false,"fork":false,"pushed_at":"2023-06-29T05:59:13.000Z","size":729,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-25T09:14:42.625Z","etag":null,"topics":["algorithm","algorithm-labs","labs","leetcode"],"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/shinexia.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}},"created_at":"2018-05-31T10:13:59.000Z","updated_at":"2023-07-10T03:28:27.000Z","dependencies_parsed_at":"2024-03-31T05:49:06.011Z","dependency_job_id":null,"html_url":"https://github.com/shinexia/algorithm-labs","commit_stats":null,"previous_names":["shinexia/algorithm-labs","shinexia/algo-labs","shinexia/algolabs"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shinexia%2Falgorithm-labs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shinexia%2Falgorithm-labs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shinexia%2Falgorithm-labs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shinexia%2Falgorithm-labs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shinexia","download_url":"https://codeload.github.com/shinexia/algorithm-labs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244574842,"owners_count":20474823,"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","algorithm-labs","labs","leetcode"],"created_at":"2025-01-25T09:14:44.721Z","updated_at":"2026-01-12T02:58:35.669Z","avatar_url":"https://github.com/shinexia.png","language":"C","readme":"# algo-labs\n\nMost used: go and c++\n\nDeveloped on Ubuntu 18.04 x64, build on MacOSx could fail.\n\n## Prerequisites\n\n```bash\ngit submodule update --init\nsudo apt install valgrind\n```\n\n## Tips\n\n### C++ MemCheck\n\n```bash\nmkdir build \u0026\u0026 cd build\ncmake -G Ninja ..\nninja\nninja ExperimentalMemCheck\n```\n\nNinja 中的`N`一定要大写，vscode -\u003e cmake generator 配置时也要注意首字母大写\n\n或者在 vscode cmake outline 中右键`ExperimentalMemCheck`执行。\n\n`Ninja` 失败的话，可以用 Makefile\n\n```bash\nmkdir build \u0026\u0026 cd build\ncmake ..\nmake -j$(nproc)\nmake test\nctest -R ExperimentalMemCheck\n```\n\n### Go Tests Coverage\n\n```bash\ngo test -cover\n# or\ngo tool cover -html=cover.out\n```\n\n## Editor\n\nVS Code with CMAKE\n\n## LICENSE\n\n[MIT License](LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshinexia%2Falgorithm-labs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshinexia%2Falgorithm-labs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshinexia%2Falgorithm-labs/lists"}