{"id":15930953,"url":"https://github.com/xdpcs/leetcode","last_synced_at":"2026-01-30T22:11:20.028Z","repository":{"id":53182402,"uuid":"521299642","full_name":"XdpCs/LeetCode","owner":"XdpCs","description":"LeetCode","archived":false,"fork":false,"pushed_at":"2024-05-05T13:10:34.000Z","size":141,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-26T03:58:36.704Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/XdpCs.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":"2022-08-04T14:31:05.000Z","updated_at":"2025-09-07T10:40:31.000Z","dependencies_parsed_at":"2023-11-22T14:30:49.068Z","dependency_job_id":"3a87d273-d71f-41f2-8747-59841fed1b06","html_url":"https://github.com/XdpCs/LeetCode","commit_stats":{"total_commits":28,"total_committers":2,"mean_commits":14.0,"dds":0.1071428571428571,"last_synced_commit":"41a6e78114f352a5ec2a6dd429d59f342e444259"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/XdpCs/LeetCode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XdpCs%2FLeetCode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XdpCs%2FLeetCode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XdpCs%2FLeetCode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XdpCs%2FLeetCode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/XdpCs","download_url":"https://codeload.github.com/XdpCs/LeetCode/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XdpCs%2FLeetCode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28920744,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T20:25:28.696Z","status":"ssl_error","status_checked_at":"2026-01-30T20:25:13.426Z","response_time":66,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-10-07T01:03:06.487Z","updated_at":"2026-01-30T22:11:20.015Z","avatar_url":"https://github.com/XdpCs.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LeetCode\n\n![GitHub watchers](https://img.shields.io/github/watchers/XdpCs/LeetCode?style=social)\n![GitHub stars](https://img.shields.io/github/stars/XdpCs/LeetCode?style=social)\n![GitHub forks](https://img.shields.io/github/forks/XdpCs/LeetCode?style=social)\n![GitHub last commit](https://img.shields.io/github/last-commit/XdpCs/LeetCode?style=flat-square)\n![GitHub repo size](https://img.shields.io/github/repo-size/XdpCs/LeetCode?style=flat-square)\n![GitHub license](https://img.shields.io/github/license/XdpCs/LeetCode?style=flat-square)\n\n## 全部题库\n\n| 题号   | 标题                    | 题解                                                                            | 难度     |\n|------|-----------------------|-------------------------------------------------------------------------------|--------|\n| 0001 | 两数之和                  | [Go](./leetcode/0001.Two-Sum)                                                 | Easy   |\n| 0034 | 在排序数组中查找元素的第一个和最后一个位置 | [Go](./leetcode/0034.Find-First-And-Last-Position-Of-Element-In-Sorted-Array) | Medium |\n| 0035 | 搜索插入位置                | [Go](./leetcode/0035.Search-Insert-Position)                                  | Easy   |\n| 0069 | x的平方根                 | [Go](./leetcode/0069.Sqrtx)                                                   | Easy   |\n| 0231 | 2 的幂                  | [Go](./leetcode/0231.Power-Of-Two)                                            | Easy   |\n| 0258 | 各位相加                  | [Go](./leetcode/0258.Add-Digits)                                              | Easy   |\n| 0263 | 丑数                    | [Go](./leetcode/0263.Ugly-Number)                                             | Easy   |\n| 0326 | 3 的幂                  | [Go](./leetcode/0326.Power-Of-Three)                                          | Easy   |\n| 0367 | 有效的完全平方数              | [Go](./leetcode/0367.Valid-Perfect-Square)                                    | Easy   |\n| 0584 | 寻找用户推荐人               | [Sql](./leetcode/0584.Find-Customer-Referee)                                  | Easy   |\n| 0704 | 二分查找                  | [Go](./leetcode/0704.Binary-Search)                                           | Easy   |\n| 0709 | 转换成小写字母               | [Go](./leetcode/0709.To-Lower-Case)                                           | Easy   |\n| 0852 | 山脉数组的峰顶索引             | [Go](./leetcode/0852.Peak-Index-In-A-Mountain-Array)                          | Medium |\n| 0867 | 转置矩阵                  | [Go](./leetcode/0867.Transpose-Matrix)                                        | Easy   |\n| 1281 | 整数的各位积和之差             | [Go](./leetcode/1281.Subtract-the-Product-and-Sum-of-Digits-of-an-Integer)    | Easy   |\n| 1422 | 分割字符串的最大得分            | [Go](./leetcode/1422.Maximum-Score-After-Splitting-A-String)                  | Easy   |\n| 1470 | 重新排列数组                | [Go](./leetcode/1470.Shuffle-The-Array)                                       | Easy   |\n| 1486 | 数组异或操作                | [Go](./leetcode/1486.XOR-Operation-in-an-Array)                               | Easy   |\n| 1512 | 好数对的数目                | [Go](./leetcode/1512.Number-of-Good-Pairs)                                    | Easy   |\n| 1534 | 统计好三元组                | [Go](./leetcode/1534.Count-Good-Triplets)                                     | Easy   |\n| 1757 | 可回收且低脂的产品             | [Sql](./leetcode/1757.Recyclable-and-Low-Fat-Products)                        | Easy   |\n| 2235 | 两整数相加                 | [Go](./leetcode/2235.Add-Two-Integers)                                        | Easy   |\n| 2236 | 判断根结点是否等于子结点之和        | [Go](./leetcode/2236.Root-Equals-Sum-of-Children)                             | Easy   |\n| 2413 | 最小偶倍数                 | [Go](./leetcode/2413.Smallest-Even-Multiple)                                  | Easy   |\n| 2469 | 温度转换                  | [Go](./leetcode/2469.Convert-the-Temperature)                                 | Easy   |\n| 2586 | 统计范围内的元音字符串数          | [Go](./leetcode/2586.Count-The-Number-Of-Vowel-Strings-In-Range)              | Easy   |\n\n## 「新」动计划 · 编程入门\n\n| 题号   | 标题             | 题解                                                                         | 难度     |\n|------|----------------|----------------------------------------------------------------------------|--------|\n| 2235 | 两整数相加          | [Go](./leetcode/2235.Add-Two-Integers)                                     | Easy   |\n| 2469 | 温度转换           | [Go](./leetcode/2469.Convert-the-Temperature)                              | Easy   |\n| 2413 | 最小偶倍数          | [Go](./leetcode/2413.Smallest-Even-Multiple)                               | Easy   |\n| 2236 | 判断根结点是否等于子结点之和 | [Go](./leetcode/2236.Root-Equals-Sum-of-Children)                          | Easy   |\n| 1486 | 数组异或操作         | [Go](./leetcode/1486.XOR-Operation-in-an-Array)                            | Easy   |\n| 1512 | 好数对的数目         | [Go](./leetcode/1512.Number-of-Good-Pairs)                                 | Easy   |\n| 1534 | 统计好三元组         | [Go](./leetcode/1534.Count-Good-Triplets)                                  | Easy   |\n| 0584 | 寻找用户推荐人        | [Sql](./leetcode/0584.Find-Customer-Referee)                               | Easy   |\n| 1757 | 可回收且低脂的产品      | [Sql](./leetcode/1757.Recyclable-and-Low-Fat-Products)                     | Easy   |\n| 0709 | 转换成小写字母        | [Go](./leetcode/0709.To-Lower-Case)                                        | Easy   |\n| 0258 | 各位相加           | [Go](./leetcode/0258.Add-Digits)                                           | Easy   |\n| 1281 | 整数的各位积和之差      | [Go](./leetcode/1281.Subtract-the-Product-and-Sum-of-Digits-of-an-Integer) | Easy   |\n| 0231 | 2 的幂           | [Go](./leetcode/0231.Power-Of-Two)                                         | Easy   |\n| 0326 | 3 的幂           | [Go](./leetcode/0326.Power-Of-Three)                                       | Easy   |\n| 0263 | 丑数             | [Go](./leetcode/0263.Ugly-Number)                                          | Easy   |\n| 1470 | 重新排列数组         | [Go](./leetcode/1470.Shuffle-The-Array)                                    | Easy   |\n| 0867 | 转置矩阵           | [Go](./leetcode/0867.Transpose-Matrix)                                     | Easy   |\n| 1422 | 分割字符串的最大得分     | [Go](./leetcode/1422.Maximum-Score-After-Splitting-A-String)               | Easy   |\n| 2586 | 统计范围内的元音字符串数   | [Go](./leetcode/2586.Count-The-Number-Of-Vowel-Strings-In-Range)           | Easy   |\n| 0852 | 山脉数组的峰顶索引      | [Go](./leetcode/0852.Peak-Index-In-A-Mountain-Array)                       | Medium |\n\n## LeetCode 热题 100\n\n| 题号   | 标题   | 题解                            | 难度   |\n|------|------|-------------------------------|------|\n| 0001 | 两数之和 | [Go](./leetcode/0001.Two-Sum) | Easy |\n\n## 哈希\n\n| 题号   | 标题   | 题解                            | 难度   |\n|------|------|-------------------------------|------|\n| 0001 | 两数之和 | [Go](./leetcode/0001.Two-Sum) | Easy |\n\n## 二分查找\n\n[笔记](./notes/Binary-Search.md)\n\n| 题号   | 标题                    | 题解                                                                            | 难度     |\n|------|-----------------------|-------------------------------------------------------------------------------|--------|\n| 0704 | 二分查找                  | [Go](./leetcode/0704.Binary-Search)                                           | Easy   |\n| 0035 | 搜索插入位置                | [Go](./leetcode/0035.Search-Insert-Position)                                  | Easy   |\n| 0034 | 在排序数组中查找元素的第一个和最后一个位置 | [Go](./leetcode/0034.Find-First-And-Last-Position-Of-Element-In-Sorted-Array) | Medium |\n| 0069 | x的平方根                 | [Go](./leetcode/0069.Sqrtx)                                                   | Easy   |\n| 0367 | 有效的完全平方数              | [Go](./leetcode/0367.Valid-Perfect-Square)                                    | Easy   |\n| 0852 | 山脉数组的峰顶索引             | [Go](./leetcode/0852.Peak-Index-In-A-Mountain-Array)                          | Medium |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxdpcs%2Fleetcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxdpcs%2Fleetcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxdpcs%2Fleetcode/lists"}