{"id":30440064,"url":"https://github.com/islatri/leetkocpp","last_synced_at":"2025-08-24T06:03:10.916Z","repository":{"id":310529820,"uuid":"1039817411","full_name":"Islatri/LeetkoCpp","owner":"Islatri","description":"A cargo-like runner for C/C++/Rust LeetCode problems","archived":false,"fork":false,"pushed_at":"2025-08-18T17:13:37.000Z","size":53,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-18T18:32:56.066Z","etag":null,"topics":["algorithms","c","cpp","leetcode","leetcode-c","leetcode-cpp","leetcode-rust","rust"],"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/Islatri.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,"zenodo":null}},"created_at":"2025-08-18T03:02:04.000Z","updated_at":"2025-08-18T17:13:40.000Z","dependencies_parsed_at":"2025-08-18T18:32:57.653Z","dependency_job_id":"44d0c526-5c73-4e12-8e9c-77ea9f4ee595","html_url":"https://github.com/Islatri/LeetkoCpp","commit_stats":null,"previous_names":["islatri/leetkocpp"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Islatri/LeetkoCpp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Islatri%2FLeetkoCpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Islatri%2FLeetkoCpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Islatri%2FLeetkoCpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Islatri%2FLeetkoCpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Islatri","download_url":"https://codeload.github.com/Islatri/LeetkoCpp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Islatri%2FLeetkoCpp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271745625,"owners_count":24813513,"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-08-23T02:00:09.327Z","response_time":69,"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":["algorithms","c","cpp","leetcode","leetcode-c","leetcode-cpp","leetcode-rust","rust"],"created_at":"2025-08-23T05:41:17.045Z","updated_at":"2025-08-23T05:41:18.530Z","avatar_url":"https://github.com/Islatri.png","language":"C","readme":"# LeetkoCpp\n\nA cargo-like runner for C/C++/Rust LeetCode problems\n\n```bash\nPS D:\\CodeZone\\CppZone\\LeetkoCpp\u003e npm run run:cpp group_anagrams\n\n\u003e leetko-cpp@1.1.0 run:cpp\n\u003e node run.js --cpp group_anagrams\n\n🔨 Building project...\n🔨 Building C/C++ projects...\nRunning CMake...\n-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.26100.\n-- Building specific example: group_anagrams\n-- Added C++ target: group_anagrams\n-- Found both C and C++ versions of 'group_anagrams', C version will be named 'group_anagrams_c'\n-- Added C target: group_anagrams_c\n-- Total targets: group_anagrams;group_anagrams_c\n-- Configuring done (0.0s)\n-- Generating done (0.0s)\n-- Build files have been written to: D:/CodeZone/CppZone/LeetkoCpp/build\nBuilding with MSBuild...\nMSBuild version 17.12.12+1cce77968 for .NET Framework\n\n  group_anagrams.cpp\n  group_anagrams.vcxproj -\u003e D:\\CodeZone\\CppZone\\LeetkoCpp\\build\\bin\\Release\\group_anagrams.exe\n✅ Build completed!\n🚀 Running group_anagrams (🔷 CPP)...\n\n📍 Executable: build\\bin\\Release\\group_anagrams.exe\n\nTest case 1: \n[eat, tea, ate]\n[tan, nat]\n[bat]\nAll tests passed! ✅\n\n📊 Process exited with code 0\n```\n\n```bash\nPS D:\\CodeZone\\CppZone\\LeetkoCpp\u003e npm run run:c two_sum         \n\n\u003e leetko-cpp@1.1.0 run:c\n\u003e node run.js --c two_sum\n\n🔨 Building project...\n🔨 Building C/C++ projects...\nRunning CMake...\n-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.26100.\n-- Building specific example: two_sum\n-- Added C++ target: two_sum\n-- Found both C and C++ versions of 'two_sum', C version will be named 'two_sum_c'\n-- Added C target: two_sum_c\n-- Total targets: two_sum;two_sum_c\n-- Configuring done (0.0s)\n-- Generating done (0.0s)\n-- Build files have been written to: D:/CodeZone/CppZone/LeetkoCpp/build\nBuilding with MSBuild...\nMSBuild version 17.12.12+1cce77968 for .NET Framework\n\n  two_sum.vcxproj -\u003e D:\\CodeZone\\CppZone\\LeetkoCpp\\build\\bin\\Release\\two_sum.exe\n✅ Build completed!\n🚀 Running two_sum (🔹 C)...\n\n📍 Executable: build\\bin\\Release\\two_sum_c.exe\n\nTest case 1: [0, 1]\nTest case 2: [1, 2]\nTest case 3: [0, 1]\nAll tests completed! ✅\n\n📊 Process exited with code 0\n```\n\n```bash\nPS D:\\CodeZone\\CppZone\\LeetkoCpp\u003e npm run run:rust longest_consecutive_sequence\n\n\u003e leetko-cpp@1.1.0 run:rust\n\u003e node run.js --rust longest_consecutive_sequence\n\n🔨 Building project...\n🦀 Building Rust projects...\n  Compiling longest_consecutive_sequence.rs...\n✅ Build completed!\n🚀 Running longest_consecutive_sequence (🦀 RUST)...\n\n📍 Executable: build\\rust\\longest_consecutive_sequence.exe\n\nTest case 1:\nExpected: 4, Got: 4\nTest case 2:\nExpected: 9, Got: 9\nTest case 3:\nExpected: 0, Got: 0\nTest case 4:\nExpected: 3, Got: 3\nAll tests passed! ✅\n\n📊 Process exited with code 0\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fislatri%2Fleetkocpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fislatri%2Fleetkocpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fislatri%2Fleetkocpp/lists"}