{"id":20598036,"url":"https://github.com/k-water/leetcode-js","last_synced_at":"2025-07-25T02:34:52.614Z","repository":{"id":222783398,"uuid":"132864530","full_name":"k-water/leetcode-js","owner":"k-water","description":"Leetcode problems with JavaScript","archived":false,"fork":false,"pushed_at":"2019-03-17T03:56:39.000Z","size":34,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-06T15:24:22.824Z","etag":null,"topics":["algorithm","javascript","leetcode","leetcode-javascript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/k-water.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}},"created_at":"2018-05-10T07:27:55.000Z","updated_at":"2019-03-17T03:56:40.000Z","dependencies_parsed_at":"2024-02-16T07:56:21.719Z","dependency_job_id":"3b8ef149-b169-476f-afac-59681db6c247","html_url":"https://github.com/k-water/leetcode-js","commit_stats":null,"previous_names":["k-water/leetcode-js"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/k-water/leetcode-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k-water%2Fleetcode-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k-water%2Fleetcode-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k-water%2Fleetcode-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k-water%2Fleetcode-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/k-water","download_url":"https://codeload.github.com/k-water/leetcode-js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k-water%2Fleetcode-js/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266944689,"owners_count":24010488,"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-07-25T02:00:09.625Z","response_time":70,"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":["algorithm","javascript","leetcode","leetcode-javascript"],"created_at":"2024-11-16T08:24:50.689Z","updated_at":"2025-07-25T02:34:52.590Z","avatar_url":"https://github.com/k-water.png","language":"JavaScript","readme":"# leetcode专题练习\n记录[LeetCode](https://leetcode-cn.com/explore/)探索部分中的题目，大部分是面试中的常见题目。\n\n## 初级算法\n\n首先从初级算法开始，此部分内容主要涉及的是比较常见的数据结构和算法，分为以下9个部分共49道题目：\n\n* 数组\n* 字符串\n* 链表\n* 树\n* 排序和搜索\n* 动态规划\n* 设计问题\n* 数学\n* 其他\n\n### 数组\n---\n* [x] [从排序数组中删除重复项](https://leetcode-cn.com/explore/interview/card/top-interview-questions-easy/1/array/21/) [accode](./Array/removeDuplicate.js)\n\n* [x] [买卖股票的最佳时机 II](https://leetcode-cn.com/explore/interview/card/top-interview-questions-easy/1/array/22/) [accode](./Array/maxProfix.js)\n\n* [x] [旋转数组](https://leetcode-cn.com/explore/interview/card/top-interview-questions-easy/1/array/23/) [accode](./Array/rotate.js)\n\n* [x] [存在重复](https://leetcode-cn.com/explore/interview/card/top-interview-questions-easy/1/array/24/) [accode](./Array/containsDuplicate.js)\n\n* [x] [只出现一次的数字](https://leetcode-cn.com/explore/interview/card/top-interview-questions-easy/1/array/25/) [accode](./Array/singleNumber.js)\n\n* [x] [两个数组的交集 II](https://leetcode-cn.com/explore/interview/card/top-interview-questions-easy/1/array/26/) [accode](./Array/intersect.js)\n\n* [x] [加一](https://leetcode-cn.com/explore/interview/card/top-interview-questions-easy/1/array/27/) [accode](./Array/plusOne.js)\n\n* [x] [移动零](https://leetcode-cn.com/explore/interview/card/top-interview-questions-easy/1/array/28/) [accode](./Array/moveZeroes.js)\n\n* [x] [两数之和](https://leetcode-cn.com/explore/interview/card/top-interview-questions-easy/1/array/29/) [accode](./Array/twoSum.js)\n\n* [x] [有效的数独](https://leetcode-cn.com/explore/interview/card/top-interview-questions-easy/1/array/30/) [accode](./Array/isValidSudoku.js)\n\n* [x] [旋转图像](https://leetcode-cn.com/explore/interview/card/top-interview-questions-easy/1/array/31/) [accode](./Array/rotateMatrix.js)\n\n\n### 字符串\n---\n* [x] [反转字符串](https://leetcode-cn.com/explore/interview/card/top-interview-questions-easy/5/strings/32/) [accode](./String/reverseString.js)\n\n* [x] [颠倒整数](https://leetcode-cn.com/explore/interview/card/top-interview-questions-easy/5/strings/33/) [accode](./String/reverse.js)\n\n* [x] [字符串中的第一个唯一字符](https://leetcode-cn.com/explore/interview/card/top-interview-questions-easy/5/strings/34/) [accode](./String/firstUniqChar.js)\n\n* [x] [有效的字母异位词](https://leetcode-cn.com/explore/interview/card/top-interview-questions-easy/5/strings/35/) [accode](./String/isAnagram.js)\n\n* [x] [验证回文字符串](https://leetcode-cn.com/explore/interview/card/top-interview-questions-easy/5/strings/36/) [accode](./String/isPalindrome.js)\n\n* [x] [字符串转整数（atoi）](https://leetcode-cn.com/explore/interview/card/top-interview-questions-easy/5/strings/37/) [accode](./String/myAtoi.js)\n\n* [x] [实现strStr()](https://leetcode-cn.com/explore/interview/card/top-interview-questions-easy/5/strings/38/) [accode](./String/strStr.js)\n\n* [x] [数数并说](https://leetcode-cn.com/explore/interview/card/top-interview-questions-easy/5/strings/39/) [accode](./String/countAndSay.js)\n\n* [x] [最长公共前缀](https://leetcode-cn.com/explore/interview/card/top-interview-questions-easy/5/strings/40/) [accode](./String/longestCommonPrefix.js)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk-water%2Fleetcode-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fk-water%2Fleetcode-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk-water%2Fleetcode-js/lists"}