Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/k-water/leetcode-js
Leetcode problems with JavaScript
https://github.com/k-water/leetcode-js
algorithm javascript leetcode leetcode-javascript
Last synced: about 18 hours ago
JSON representation
Leetcode problems with JavaScript
- Host: GitHub
- URL: https://github.com/k-water/leetcode-js
- Owner: k-water
- License: mit
- Created: 2018-05-10T07:27:55.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-17T03:56:39.000Z (over 5 years ago)
- Last Synced: 2024-02-16T07:56:20.840Z (9 months ago)
- Topics: algorithm, javascript, leetcode, leetcode-javascript
- Language: JavaScript
- Homepage:
- Size: 33.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# leetcode专题练习
记录[LeetCode](https://leetcode-cn.com/explore/)探索部分中的题目,大部分是面试中的常见题目。## 初级算法
首先从初级算法开始,此部分内容主要涉及的是比较常见的数据结构和算法,分为以下9个部分共49道题目:
* 数组
* 字符串
* 链表
* 树
* 排序和搜索
* 动态规划
* 设计问题
* 数学
* 其他### 数组
---
* [x] [从排序数组中删除重复项](https://leetcode-cn.com/explore/interview/card/top-interview-questions-easy/1/array/21/) [accode](./Array/removeDuplicate.js)* [x] [买卖股票的最佳时机 II](https://leetcode-cn.com/explore/interview/card/top-interview-questions-easy/1/array/22/) [accode](./Array/maxProfix.js)
* [x] [旋转数组](https://leetcode-cn.com/explore/interview/card/top-interview-questions-easy/1/array/23/) [accode](./Array/rotate.js)
* [x] [存在重复](https://leetcode-cn.com/explore/interview/card/top-interview-questions-easy/1/array/24/) [accode](./Array/containsDuplicate.js)
* [x] [只出现一次的数字](https://leetcode-cn.com/explore/interview/card/top-interview-questions-easy/1/array/25/) [accode](./Array/singleNumber.js)
* [x] [两个数组的交集 II](https://leetcode-cn.com/explore/interview/card/top-interview-questions-easy/1/array/26/) [accode](./Array/intersect.js)
* [x] [加一](https://leetcode-cn.com/explore/interview/card/top-interview-questions-easy/1/array/27/) [accode](./Array/plusOne.js)
* [x] [移动零](https://leetcode-cn.com/explore/interview/card/top-interview-questions-easy/1/array/28/) [accode](./Array/moveZeroes.js)
* [x] [两数之和](https://leetcode-cn.com/explore/interview/card/top-interview-questions-easy/1/array/29/) [accode](./Array/twoSum.js)
* [x] [有效的数独](https://leetcode-cn.com/explore/interview/card/top-interview-questions-easy/1/array/30/) [accode](./Array/isValidSudoku.js)
* [x] [旋转图像](https://leetcode-cn.com/explore/interview/card/top-interview-questions-easy/1/array/31/) [accode](./Array/rotateMatrix.js)
### 字符串
---
* [x] [反转字符串](https://leetcode-cn.com/explore/interview/card/top-interview-questions-easy/5/strings/32/) [accode](./String/reverseString.js)* [x] [颠倒整数](https://leetcode-cn.com/explore/interview/card/top-interview-questions-easy/5/strings/33/) [accode](./String/reverse.js)
* [x] [字符串中的第一个唯一字符](https://leetcode-cn.com/explore/interview/card/top-interview-questions-easy/5/strings/34/) [accode](./String/firstUniqChar.js)
* [x] [有效的字母异位词](https://leetcode-cn.com/explore/interview/card/top-interview-questions-easy/5/strings/35/) [accode](./String/isAnagram.js)
* [x] [验证回文字符串](https://leetcode-cn.com/explore/interview/card/top-interview-questions-easy/5/strings/36/) [accode](./String/isPalindrome.js)
* [x] [字符串转整数(atoi)](https://leetcode-cn.com/explore/interview/card/top-interview-questions-easy/5/strings/37/) [accode](./String/myAtoi.js)
* [x] [实现strStr()](https://leetcode-cn.com/explore/interview/card/top-interview-questions-easy/5/strings/38/) [accode](./String/strStr.js)
* [x] [数数并说](https://leetcode-cn.com/explore/interview/card/top-interview-questions-easy/5/strings/39/) [accode](./String/countAndSay.js)
* [x] [最长公共前缀](https://leetcode-cn.com/explore/interview/card/top-interview-questions-easy/5/strings/40/) [accode](./String/longestCommonPrefix.js)