{"id":20102392,"url":"https://github.com/jgndev/cpp_dsa_templ","last_synced_at":"2025-03-02T17:20:26.158Z","repository":{"id":254468268,"uuid":"842941127","full_name":"jgndev/cpp_dsa_templ","owner":"jgndev","description":"c++ dsa template","archived":false,"fork":false,"pushed_at":"2024-09-04T15:55:00.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T12:08:36.172Z","etag":null,"topics":["dsa-cpp","leetcode-cpp"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jgndev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-08-15T12:45:45.000Z","updated_at":"2024-09-04T15:55:04.000Z","dependencies_parsed_at":"2024-11-13T17:33:30.606Z","dependency_job_id":"5cbdafff-1125-454b-9c27-455f54b81723","html_url":"https://github.com/jgndev/cpp_dsa_templ","commit_stats":null,"previous_names":["jgndev/cpp_dsa_templ"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgndev%2Fcpp_dsa_templ","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgndev%2Fcpp_dsa_templ/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgndev%2Fcpp_dsa_templ/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgndev%2Fcpp_dsa_templ/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jgndev","download_url":"https://codeload.github.com/jgndev/cpp_dsa_templ/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241541999,"owners_count":19979233,"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":["dsa-cpp","leetcode-cpp"],"created_at":"2024-11-13T17:30:21.687Z","updated_at":"2025-03-02T17:20:26.127Z","avatar_url":"https://github.com/jgndev.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DSA C++ Template\n\nThis repo is for quickly setting up a C++ project that uses [CMake](https://cmake.org) and [GoogleTest](https://google.github.io/googletest/).  \n\nIt is intended for practice with the C++ language while doing Data Structures and  \nAlgorithms problems like those found on [leetcode.com](https://leetcode.com)\n\n## Instructions\n\n1 - Clone the repo to a directory name of your choice.\n\n```bash\ngit clone https://github.com/jgndev/dsa_cpp_templ example_problem\n```\n\n2 - Run the project init script `project-init.sh`\n\n```bash\n./project-init.sh\n```\n\nThis creates a `build` directory and links `compile-commands.json` to the top level which\nhelps LSPs work in editors like [neovim](https://neovim.io).\n\n## Building\n\n1 - Change directory into `build`\n\n2 - Run `make`\n\n\n## Running tests\n\n1 - Add your tests to `tests/test_solution.cpp`\n\n2 - Change directory to `build`\n\n3 - Run `make` to compile `test_solution`\n\n4 - Run `./test_solution` to run the tests.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjgndev%2Fcpp_dsa_templ","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjgndev%2Fcpp_dsa_templ","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjgndev%2Fcpp_dsa_templ/lists"}