{"id":13992888,"url":"https://github.com/paulcadman/lean4-leetcode","last_synced_at":"2025-03-01T09:19:42.570Z","repository":{"id":190681657,"uuid":"683062383","full_name":"paulcadman/lean4-leetcode","owner":"paulcadman","description":null,"archived":false,"fork":false,"pushed_at":"2023-08-26T08:46:41.000Z","size":5,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-02-24T17:05:23.430Z","etag":null,"topics":["lean4","leetcode"],"latest_commit_sha":null,"homepage":"","language":"Lean","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/paulcadman.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-25T14:02:55.000Z","updated_at":"2023-12-11T00:29:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"606edb21-501d-4020-a6df-afa998d91734","html_url":"https://github.com/paulcadman/lean4-leetcode","commit_stats":null,"previous_names":["paulcadman/lean4-leetcode"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulcadman%2Flean4-leetcode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulcadman%2Flean4-leetcode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulcadman%2Flean4-leetcode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulcadman%2Flean4-leetcode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paulcadman","download_url":"https://codeload.github.com/paulcadman/lean4-leetcode/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241342890,"owners_count":19947291,"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":["lean4","leetcode"],"created_at":"2024-08-09T14:02:10.074Z","updated_at":"2025-03-01T09:19:42.542Z","avatar_url":"https://github.com/paulcadman.png","language":"Lean","funding_links":[],"categories":["Lean"],"sub_categories":[],"readme":"# Leetcode exercises in Lean4\n\n## Run all the exercises\n\n```\nlake exe leetcode\n```\n\n## Run a single exercise\n\n```\nlake exe \u003cname\u003e\n```\n\nwhere `name` is given in the following table:\n\n| Exercise | Implementation | Test name | Bench name |\n| -------- | -------------- | --------- | ---------- |\n| [twoSum](https://leetcode.com/problems/two-sum/) | [TwoSum.lean](./Leetcode/TwoSum.lean) |  `twosum-test` | `twosum-bench` |\n| [reverse](https://leetcode.com/problems/reverse-integer/) | [Reverse.lean](./Leetcode/Reverse.lean) |  `reverse-test` | |\n\n## Credits\n\nThis code was written with [@awalterschulze](https://github.com/awalterschulze) on his [twitch channel](https://www.twitch.tv/videos/1907381658).\nThe recording of us tackling the initial problems can be found on [youtube](https://www.youtube.com/watch?v=uLvOPhZQ5f4).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaulcadman%2Flean4-leetcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaulcadman%2Flean4-leetcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaulcadman%2Flean4-leetcode/lists"}