{"id":18898334,"url":"https://github.com/brainstone/leetcode","last_synced_at":"2026-03-01T09:30:24.501Z","repository":{"id":216058490,"uuid":"740355734","full_name":"BrainStone/LeetCode","owner":"BrainStone","description":"This little project is a template for running LeetCode problems locally in your CLion installation.","archived":false,"fork":false,"pushed_at":"2024-01-11T12:00:59.000Z","size":27,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-31T08:45:38.122Z","etag":null,"topics":["cmake","cpp","cpp20","leetcode","leetcode-cpp","template"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BrainStone.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-01-08T07:15:22.000Z","updated_at":"2024-01-14T13:02:01.000Z","dependencies_parsed_at":"2024-01-11T11:54:59.815Z","dependency_job_id":"e51ae917-0601-4487-9a0c-140983fd8a9a","html_url":"https://github.com/BrainStone/LeetCode","commit_stats":null,"previous_names":["brainstone/leetcode"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrainStone%2FLeetCode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrainStone%2FLeetCode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrainStone%2FLeetCode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrainStone%2FLeetCode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BrainStone","download_url":"https://codeload.github.com/BrainStone/LeetCode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239879317,"owners_count":19712176,"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":["cmake","cpp","cpp20","leetcode","leetcode-cpp","template"],"created_at":"2024-11-08T08:42:02.511Z","updated_at":"2026-03-01T09:30:24.461Z","avatar_url":"https://github.com/BrainStone.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LeetCode C++ Template\n\nThis little project is a template for running LeetCode problems locally in your CLion installation.\n\n## Usage\n\n- Install the [LeetCode Editor](https://plugins.jetbrains.com/plugin/12132-leetcode-editor) plugin\n- Configure the plugin and log in to your account as you normally would\n- Configure the `problems` folder as the `TempFilePath` of the plugin\n- Copy the templates from the `templates` folder into the respective templates of the plugin\n- Start solving problems and enjoy each problem being locally debuggable\n\n### Caveats\n\nSince C++20 doesn't have reflection\n\n- Be sure to reload CMake after each new project\n- Be sure to make the entry function look like this:\n  ```c++\n  class Solution {\n  // ...\n  public:\n  \t\u003creturn type\u003e \u003cfunction-name\u003e(\u003cargument-list\u003e)\n  // ...\n  };\n  ```\n- Be sure to reload CMake after changing the entry function's parameter types (like for example by changing `string`\n  to `const string\u0026`)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrainstone%2Fleetcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrainstone%2Fleetcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrainstone%2Fleetcode/lists"}