Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/RichCodersAndMe/LeetCode-Solution

👑 Solution of LeetCode with Java、JavaScript、kotlin(updating)
https://github.com/RichCodersAndMe/LeetCode-Solution

algorithms data-structure data-structures leetcode leetcode-java leetcode-javascript leetcode-kotlin leetcode-solutions

Last synced: 29 days ago
JSON representation

👑 Solution of LeetCode with Java、JavaScript、kotlin(updating)

Awesome Lists containing this project

README

        

# LeetCode-SolutionLeetCode-Solution

本仓库为LeetCode练习题题解记录,会持续更新各种语言的题解。同时也欢迎使用各种语言的同♂好们加入此项目,为开源贡献力量。

> [LeetCode](https://leetcode.com/) is the best platform to help you enhance your skills, expand your knowledge and prepare for technical interviews.

如果想知道各大公司 LeetCode 面试题,可以参看 [Companies.md][companies]。

附上[@Blankj](https://github.com/Blankj)的镇楼诗:

> 明有科举八股,今有 LeetCode。
> 八股定格式而取文采心意,LeetCode 定题目且重答案背诵。
> 美其名曰:"practice makes perfect."
> 为何今不如古?
> 非也非也,
> 科举为国取士,LeetCode 为 Google 筛码工,各取所需也。

## 目录

- [题解汇总](#题解汇总)
- [库维护须知](#库维护须知)
- [贡献者名单](#贡献者名单)

## 题解汇总

| 题目 | 题解 | 难度 | Java | JavaScript | kotlin |
| :-----------------: | ------------------------------------------------------------ | :---------: | :------------: |:-----------: | :-------------: |
| [001][001-question] | [Two Sum][001-tips] | [Easy][E] | [✅][001-java] | [✅][001-js] | [✅][001-kotlin] |
| [002][002-question] | [Add Two Numbers][002-tips] | [Medium][M] | [✅][002-java] | | [✅][002-kotlin] |
| [003][003-question] | [Longest Substring Without Repeating Characters][003-tips] | [Medium][M] | [✅][003-java] | | [✅][003-kotlin] |
| [004][004-question] | [Median of Two Sorted Arrays][004-tips] | [Hard][H] | [✅][004-java] | | [✅][004-kotlin] |
| [005][005-question] | [Longest Palindromic Substring][005-tips] | [Medium][M] | [✅][005-java] | | |
| [006][006-question] | [ZigZag Conversion][006-tips] | [Medium][M] | [✅][006-java] | | |
| [007][007-question] | [Reverse Integer][007-tips] | [Easy][E] | [✅][007-java] | [✅][007-js] | [✅][007-kotlin] |
| [008][008-question] | [String to Integer (atoi)][008-tips] | [Medium][M] | [✅][008-java] | | |
| [009][009-question] | [Palindrome Number][009-tips] | [Easy][E] | [✅][009-java] | [✅][009-js] | [✅][009-kotlin] |
| [010][010-question] | [Regular Expression Matching][010-tips] | [Hard][H] | [✅][010-java] | | |
| [011][011-question] | [Container With Most Water][011-tips] | [Medium][M] | [✅][011-java] | | |
| [012][012-question] | [Integer to Roman][012-tips] | [Medium][M] | [✅][012-java] | | |
| [013][013-question] | [Roman to Integer][013-tips] | [Easy][E] | [✅][013-java] | [✅][013-js] | [✅][013-kotlin] |
| [014][014-question] | [Longest Common Prefix][014-tips] | [Easy][E] | [✅][014-java] | [✅][014-js] | [✅][014-kotlin] |
| [015][015-question] | [3Sum][015-tips] | [Medium][M] | [✅][015-java] | | |
| [016][016-question] | [3Sum Closest][016-tips] | [Medium][M] | [✅][016-java] | | |
| [017][017-question] | [Letter Combinations of a Phone Number][017-tips] | [Medium][M] | [✅][017-java] | | |
| [018][018-question] | [4Sum][018-tips] | [Medium][M] | [✅][018-java] | | |
| [019][019-question] | [Remove Nth Node From End of List][019-tips] | [Medium][M] | [✅][019-java] | | |
| [020][020-question] | [Valid Parentheses][020-tips] | [Easy][E] | [✅][020-java] | [✅][020-js] | [✅][020-kotlin] |
| [021][021-question] | [Merge Two Sorted Lists][021-tips] | [Easy][E] | [✅][021-java] | [✅][021-js] | [✅][021-kotlin] |
| [022][022-question] | [Generate Parentheses][022-tips] | [Medium][M] | [✅][022-java] | | |
| [023][023-question] | [Merge k Sorted Lists][023-tips] | [Hard][H] | [✅][023-java] | | |
| [024][024-question] | [Swap Nodes in Pairs][024-tips] | [Medium][M] | [✅][024-java] | | |
| [025][025-question] | [Reverse Nodes in k-Group][025-tips] | [Hard][H] | [✅][025-java] | | |
| [026][026-question] | [Remove Duplicates from Sorted Array][026-tips] | [Easy][E] | [✅][026-java] | [✅][026-js] | [✅][026-kotlin] |
| [027][027-question] | [Remove Element][027-tips] | [Easy][E] | [✅][027-java] | [✅][027-js] | [✅][027-kotlin] |
| [028][028-question] | [Implement strStr()][028-tips] | [Easy][E] | [✅][028-java] | [✅][027-js] | [✅][028-kotlin] |
| [029][029-question] | [Divide Two Integers][029-tips] | [Medium][M] | [✅][029-java] | | |
| [030][030-question] | [Substring with Concatenation of All Words][030-tips] | [Hard][H] | [✅][030-java] | | |
| [033][033-question] | [Search in Rotated Sorted Array][033-tips] | [Medium][M] | [✅][033-java] | | |
| [035][035-question] | [Search Insert Position][035-tips] | [Easy][E] | [✅][035-java] | [✅][035-js] | [✅][035-kotlin] |
| [038][038-question] | [Count and Say][038-tips] | [Easy][E] | [✅][038-java] | [✅][038-js] | [✅][038-kotlin] |
| [043][043-question] | [Multiply Strings][043-tips] | [Medium][M] | [✅][043-java] | | |
| [044][044-question] | [Wildcard Matching][044-tips] | [Hard][H] | [✅][044-java] | | |
| [049][049-question] | [Group Anagrams][049-tips] | [Medium][M] | [✅][049-java] | | |
| [050][050-question] | [Pow(x, n)][050-tips] | [Medium][M] | [✅][050-java] | | |
| [053][053-question] | [Maximum Subarray][053-tips] | [Easy][E] | [✅][053-java] | [✅][053-js] | [✅][053-kotlin] |
| [056][056-question] | [Merge Intervals][056-tips] | [Medium][M] | [✅][056-java] | | |
| [057][057-question] | [Insert Interval][057-tips] | [Hard][H] | [✅][057-java] | | |
| [058][058-question] | [Length of Last Word][058-tips] | [Easy][E] | [✅][058-java] | [✅][058-js] | [✅][058-kotlin] |
| [066][066-question] | [Plus One][066-tips] | [Easy][E] | [✅][066-java] | [✅][066-js] | [✅][066-kotlin] |
| [067][067-question] | [Add Binary][067-tips] | [Easy][E] | [✅][067-java] | [✅][067-js] | [✅][067-kotlin] |
| [068][068-question] | [Text Justification][068-tips] | [Hard][H] | [✅][068-java] | | |
| [069][069-question] | [Sqrt(x)][069-tips] | [Easy][E] | [✅][069-java] | [✅][069-js] | [✅][069-kotlin] |
| [070][070-question] | [Climbing Stairs][070-tips] | [Easy][E] | [✅][070-java] | [✅][070-js] | [✅][070-kotlin] |
| [083][083-question] | [Remove Duplicates from Sorted List][083-tips] | [Easy][E] | [✅][083-java] | [✅][083-js] | [✅][083-kotlin] |
| [088][088-question] | [Merge Sorted Array][088-tips] | [Easy][E] | [✅][088-java] | [✅][088-js] | [✅][088-kotlin] |
| [100][100-question] | [Same Tree][100-tips] | [Easy][E] | [✅][100-java] | [✅][100-js] | [✅][100-kotlin] |
| [101][101-question] | [Symmetric Tree][101-tips] | [Easy][E] | [✅][101-java] | [✅][101-js] | [✅][101-kotlin] |
| [104][104-question] | [Maximum Depth of Binary Tree][104-tips] | [Easy][E] | [✅][104-java] | [✅][104-js] | [✅][104-kotlin] |
| [107][107-question] | [Binary Tree Level Order Traversal II][107-tips] | [Easy][E] | [✅][107-java] | [✅][107-js] | [✅][107-kotlin] |
| [108][108-question] | [Convert Sorted Array to Binary Search Tree][108-tips] | [Easy][E] | [✅][108-java] | [✅][108-js] | [✅][108-kotlin] |
| [110][110-question] | [Balanced Binary Tree][110-tips] | [Easy][E] | [✅][110-java] | [✅][110-js] | [✅][110-kotlin] |
| [111][111-question] | [Minimum Depth of Binary Tree][111-tips] | [Easy][E] | [✅][111-java] | [✅][111-js] | [✅][111-kotlin] |
| [112][112-question] | [Path Sum][112-tips] | [Easy][E] | [✅][112-java] | [✅][112-js] | [✅][112-kotlin] |
| [118][118-question] | [Pascal's Triangle][118-tips] | [Easy][E] | [✅][118-java] | [✅][118-js] | [✅][118-kotlin] |
| [119][119-question] | [Pascal's Triangle II][119-tips] | [Easy][E] | [✅][119-java] | [✅][119-js] | [✅][119-kotlin] |
| [121][121-question] | [Best Time to Buy and Sell Stock][121-tips] | [Easy][E] | [✅][121-java] | [✅][121-js] | [✅][121-kotlin] |
| [122][122-question] | [Best Time to Buy and Sell Stock II][122-tips] | [Easy][E] | [✅][122-java] | [✅][122-js] | [✅][122-kotlin] |
| [125][125-question] | [Valid Palindrome][125-tips] | [Easy][E] | | [✅][125-js] | [✅][125-kotlin] |
| [136][136-question] | [Single Number][136-tips] | [Easy][E] | | [✅][136-js] | [✅][136-kotlin] |
| [141][141-question] | [Linked List Cycle][141-tips] | [Easy][E] | [✅][141-java] | | - |
| [155][155-question] | [Min Stack][155-tips] | [Easy][E] | [✅][155-java] | [✅][155-js] | [✅][155-kotlin] |
| [160][160-question] | [Intersection of Two Linked Lists][160-tips] | [Easy][E] | [✅][160-java] | | - |
| [167][167-question] | [Two Sum II - Input array is sorted][167-tips] | [Easy][E] | | [✅][167-js] | - |
| [168][168-question] | [Excel Sheet Column Title][168-tips] | [Easy][E] | | [✅][168-js] | - |
| [169][169-question] | [Majority Element][169-tips] | [Easy][E] | | [✅][169-js] | - |
| [171][171-question] | [excel-sheet-column-number][171-tips] | [Easy][E] | | [✅][171-js] | - |
| [226][226-question] | [Invert Binary Tree][226-tips] | [Easy][E] | [✅][226-java] | [✅][226-js] | [✅][226-kotlin] |
| [504][504-question] | [Base 7][504-tips] | [Easy][E] | | | [✅][504-kotlin] |
| [543][543-question] | [Diameter of Binary Tree][543-tips] | [Easy][E] | [✅][543-java] | | [✅][543-kotlin] |
| [554][554-question] | [Brick Wall][554-tips] | [Medium][M] | [✅][554-java] | | |
| [561][561-question] | [Array Partition I][561-tips] | [Easy][E] | [✅][561-java] | [✅][561-js] | |
| [643][643-question] | [Maximum Average Subarray I][643-tips] | [Easy][E] | [✅][643-java] | [✅][643-js] | |
| [645][645-question] | [Set Mismatch][645-tips] | [Easy][E] | [✅][645-java] | [✅][645-js] | |
| [653][653-question] | [Two Sum IV - Input is a BST][653-tips] | [Easy][E] | [✅][653-java] | [✅][653-js] | |
| [657][657-question] | [Judge Route Circle][657-tips] | [Easy][E] | [✅][657-java] | [✅][657-js] | |
| [661][661-question] | [Image Smoother][661-tips] | [Easy][E] | [✅][661-java] | [✅][661-js] | |
| [665][665-question] | [Non-decreasing Array][665-tips] | [Easy][E] | [✅][665-java] | [✅][665-js] | |
| [669][669-question] | [Trim a Binary Search Tree][669-tips] | [Easy][E] | [✅][669-java] | [✅][669-js] | |
| [671][671-question] | [Second Minimum Node In a Binary Tree][671-tips] | [Easy][E] | [✅][671-java] | [✅][671-js] | |
| [674][674-question] | [Longest Continuous Increasing Subsequence][674-tips] | [Easy][E] | [✅][674-java] | [✅][674-js] | |
| [680][680-question] | [Valid Palindrome II][680-tips] | [Easy][E] | [✅][680-java] | [✅][680-js] | |
| [682][682-question] | [Baseball Game][682-tips] | [Easy][E] | [✅][682-java] | [✅][682-js] | |
| [686][686-question] | [Repeated String Match][686-tips] | [Easy][E] | [✅][686-java] | [✅][686-js] | |
| [687][687-question] | [Longest Univalue Path][687-tips] | [Easy][E] | [✅][687-java] | [✅][687-js] | |
| [693][693-question] | [Binary Number with Alternating Bits][693-tips] | [Easy][E] | [✅][693-java] | [✅][693-js] | |
| [695][695-question] | [Max Area of Island][695-tips] | [Easy][E] | [✅][695-java] | [✅][695-js] | |
| [696][696-question] | [Count Binary Substrings][696-tips] | [Easy][E] | [✅][696-java] | [✅][696-js] | |
| [697][697-question] | [Degree of an Array][697-tips] | [Easy][E] | [✅][697-java] | [✅][697-js] | |
| [717][717-question] | [1-bit and 2-bit Characters][717-tips] | [Easy][E] | [✅][717-java] | [✅][717-js] | |
| [720][720-question] | [Longest Word in Dictionary][720-tips] | [Easy][E] | [✅][720-java] | [✅][720-js] | |
| [724][724-question] | [Find Pivot Index][724-tips] | [Easy][E] | [✅][724-java] | [✅][724-js] | |
| [728][728-question] | [Self Dividing Numbers][728-tips] | [Easy][E] | [✅][728-java] | [✅][728-js] | |
| [733][733-question] | [Flood Fill][733-tips] | [Easy][E] | [✅][733-java] | [✅][733-js] | |
| [744][744-question] | [Find Smallest Letter Greater Than Target][744-tips] | [Easy][E] | [✅][744-java] | [✅][744-js] | |
| [746][746-question] | [Min Cost Climbing Stairs][746-tips] | [Easy][E] | [✅][746-java] | [✅][746-js] | |
| [747][747-question] | [Largest Number At Least Twice of Others][747-tips] | [Easy][E] | [✅][747-java] | [✅][747-js] | |
| [762][762-question] | [Prime Number of Set Bits in Binary Representation][762-tips]| [Easy][E] | [✅][762-java] | [✅][762-js] | |
| [766][766-question] | [Toeplitz Matrix][766-tips] | [Easy][E] | [✅][766-java] | [✅][766-js] | |
| [771][771-question] | [Jewels and Stones][771-tips] | [Easy][E] | [✅][771-java] | [✅][771-js] | [✅][771-kotlin] |
| [783][783-question] | [Minimum Distance Between BST Nodes][783-tips] | [Easy][E] | [✅][783-java] | [✅][783-js] | |
| [784][784-question] | [Letter Case Permutation][784-tips] | [Easy][E] | | [✅][784-js] | |
| [788][788-question] | [Rotated Digits][788-tips] | [Easy][E] | | [✅][788-js] | |
| [796][796-question] | [Rotate String][796-tips] | [Easy][E] | | [✅][796-js] | |
| [804][804-question] | [Unique Morse Code Words][804-tips] | [Easy][E] | [✅][804-java] | | |
| [806][806-question] | [Number of Lines To Write String][806-tips] | [Easy][E] | | [✅][806-js] | |

## 库维护须知

请大家遵守规范,勤加维护。对规范有异议可以提出意见,经过讨论,并落地合理的规范。

注: 为方便阐述规范,以下内容以“使用**Java**语言解答**第001题**-**Two Sum**”为例进行说明。

### 本仓库的起源
为避免误解,以下称[RichCodersAndMe/LeetCode-Solution][lcs]为**本仓库**, 被介绍的仓库称为**此仓库**。
#### 来源1: [@Blankj][blankj]的[awsome-java-leetcode][ajl]
**此仓库**由[@Blankj][blankj]于2017年4月18日创建, 不定期更新优质**Java**代码和题解,颇受好评,至今已有star数**3521**颗(star数量以仓库原址为准)。截止**本仓库**建立为止, **此仓库**已累计拥有**63**题已AC的Java代码。

#### 来源2: [@Wang-YS][wys]的[leetcode][lc]
**此仓库**由[@Wang-YS][wys]于2018年2月28日创建,不定期更新优质**JavaScript**代码,属于个人练习项目。截止**本仓库**建立为止, **此仓库**已累计拥有**33**题已AC的JavaScript代码。

#### 来源3 [@CodeAntStudio][cas]的[LeetCode-Solution][old-lcs]
**此仓库**由[@Mukyu][Mukyu]、[@Taryn][Taryn]、[@WangXin][wangxin]于2018年3月31日创建,由[@Mukyu][Mukyu]提供**Java**题解,[@Taryn][Taryn]提供**JavaScript**题解,[@WangXin][wangxin]提供**kotlin**题解,属于刚刚萌生想法的而创建的新仓库。截止**本仓库**建立为止, **此仓库**已累计拥有**5**题已AC的Java代码、**2**题已AC的JavaScript代码、**3**题已AC的kotlin代码。

### 文档编写规范
举例说明:
当提交首页表格未收录的题目时:
- 1 需提交对应解题代码->`./src/_001/Solution.java`
- 2 对应的题目题解markdown文件(此文件填写规范参看[题解模板][template])->`./tips/001/README.md`
- 3 在首页`README.md`对应的位置添加记录
- 3.1 根据题目难度(Easy、Medium、Hard),在对应的表格内的对应位置(根据题号排序)添加行
- 3.2 添加原题地址([001-question]: https://leetcode.com/problems/two-sum)
- 3.3 添加题解地址 ([001-tips]: ./tips/001/README.md)
- 3.4 添加原题对应的**Tags**(就是在原题网页偏右下位置的`Related Topics`)
- 3.5 添加代码地址 ([001-java]: ./src/_001/Solution.java)
(注: 同名的kotlin与Java类在同一个目录下会冲突,故kotlin放在更深一层的`kotlin`文件夹中:`./src/_001/kotlin/Solution.kt`)

总而言之三步走: **代码**、**题解**、**首页README.md**

### commit信息提交规范
> feat:提交新的AC代码
> fix:修补bug
> docs:文档修改
> style: 格式(不影响代码运行的变动)
> refactor:重构(即不是新增功能,也不是修改bug的代码变动)
> test:增加测试
> chore:构建过程或辅助工具的变动

基本可以按照上述情况对号入座, 还是不明白的参看*历史提交记录*(`git log`)。

commit前先pull, 尽量避免产生不必要的git分叉.

commit信息模板: ``feat: add the solution of `Two Sum`(001) with Java``

### 添加新语言代码
目前已使用的代码有: `Java`、`JavaScript`、`kotlin`
添加新的语言的解题代码, 请按**字母序**排列,在**对应列**添加解题代码且附链接,文档编写相关细节参看[commit信息提交规范](#commit信息提交规范)。

### 其他问题
#### 1 同题的同种语言的代码如何处理?
建议保留一份即可(优先保留高效代码), 如果有更好/值得一说的思路,可以在题解中体现。
如果非要保留自己的代码, 请遵守以下规则:
- 首页README.md优先使用最优解的代码链接,认为最优解可以进一步优化或有更好的解法时,可通过提Issue的方式进行讨论和决定。
- 如果同语言代码思路不同可以在**题解文档内**阐述思路,若思路相同,则不再赘述。
- 文件名则改为: `Solution1.java`、`Solution2.java`、`Solution3.java`,以此类推。

#### 2 未完善的题解
目前存在大量未完善的题解, 原因是[@Wang-YS][wys]大佬的原仓库没有写题解,只有已AC的js代码。
大概分散在561~804题。那个啥,大家努力完善吧。

## 贡献者名单

排名不分先后
- 感谢[@Mukyu](https://github.com/Mukyu), 提供**Java**题解。
- 感谢[@Taryn](https://github.com/taryn2016), 提供**JavaScript**题解。
- 感谢[@Wang-YS](https://github.com/Wang-YS), 提供**JavaScrip**代码。
- 感谢[@Blankj](https://github.com/Blankj), 提供**Java**题解、**镇楼诗**及**文档编写规范**。
- 感谢[@WangXin](https://github.com/relish-wang), 提供**kotlin**代码、**文档整理**及**库维护规范**。

[companies]: ./Companies.md

[blankj]: https://github.com/Blankj
[ajl]: https://github.com/Blankj/awesome-java-leetcode
[wys]: https://github.com/Wang-YS
[lc]: https://github.com/Wang-YS/leetcode
[lcs]: https://github.com/RichCodersAndMe/LeetCode-Solution
[old-lcs]: https://github.com/CodeAntStudio/LeetCode-Solution
[wangxin]: https://github.com/relish-wang
[Mukyu]: https://github.com/Mukyu
[Taryn]: https://github.com/Taryn2016
[cas]: https://github.com/CodeAntStudio
[template]: ./tips/Template.md

[E]: https://leetcode.com/problemset/all/?difficulty=Easy
[M]: https://leetcode.com/problemset/all/?difficulty=Medium
[H]: https://leetcode.com/problemset/all/?difficulty=Hard

[001-question]: https://leetcode.com/problems/two-sum/description/
[002-question]: https://leetcode.com/problems/add-two-numbers/description/
[003-question]: https://leetcode.com/problems/longest-substring-without-repeating-characters/
[004-question]: https://leetcode.com/problems/median-of-two-sorted-arrays/
[005-question]: https://leetcode.com/problems/longest-palindromic-substring/
[006-question]: https://leetcode.com/problems/zigzag-conversion/
[007-question]: https://leetcode.com/problems/reverse-integer/
[008-question]: https://leetcode.com/problems/string-to-integer-atoi/description/
[009-question]: https://leetcode.com/problems/palindrome-number/
[010-question]: https://leetcode.com/problems/regular-expression-matching/
[011-question]: https://leetcode.com/problems/container-with-most-water/
[012-question]: https://leetcode.com/problems/integer-to-roman/
[013-question]: https://leetcode.com/problems/roman-to-integer/
[014-question]: https://leetcode.com/problems/longest-common-prefix/
[015-question]: https://leetcode.com/problems/3sum/description/
[016-question]: https://leetcode.com/problems/3sum-closest/
[017-question]: https://leetcode.com/problems/letter-combinations-of-a-phone-number/description/
[018-question]: https://leetcode.com/problems/4sum/
[019-question]: https://leetcode.com/problems/remove-nth-node-from-end-of-list/description/
[020-question]: https://leetcode.com/problems/valid-parentheses/description/
[021-question]: https://leetcode.com/problems/merge-two-sorted-lists/
[022-question]: https://leetcode.com/problems/generate-parentheses/
[023-question]: https://leetcode.com/problems/merge-k-sorted-lists/
[024-question]: https://leetcode.com/problems/swap-nodes-in-pairs/
[025-question]: https://leetcode.com/problems/reverse-nodes-in-k-group/
[026-question]: https://leetcode.com/problems/remove-duplicates-from-sorted-array/
[027-question]: https://leetcode.com/problems/remove-element/
[028-question]: https://leetcode.com/problems/implement-strstr/
[029-question]: https://leetcode.com/problems/divide-two-integers/description/
[030-question]: https://leetcode.com/problems/substring-with-concatenation-of-all-words/
[033-question]: https://leetcode.com/problems/search-in-rotated-sorted-array/description/
[035-question]: https://leetcode.com/problems/search-insert-position/description/
[038-question]: https://leetcode.com/problems/count-and-say/
[043-question]: https://leetcode.com/problems/multiply-strings/
[044-question]: https://leetcode.com/problems/wildcard-matching/
[049-question]: https://leetcode.com/problems/group-anagrams/
[050-question]: https://leetcode.com/problems/powx-n/
[053-question]: https://leetcode.com/problems/maximum-subarray/
[056-question]: https://leetcode.com/problems/merge-intervals/
[057-question]: https://leetcode.com/problems/insert-interval/
[058-question]: https://leetcode.com/problems/length-of-last-word/
[066-question]: https://leetcode.com/problems/plus-one/
[067-question]: https://leetcode.com/problems/add-binary/
[068-question]: https://leetcode.com/problems/text-justification/
[069-question]: https://leetcode.com/problems/sqrtx/description/
[070-question]: https://leetcode.com/problems/climbing-stairs/
[083-question]: https://leetcode.com/problems/remove-duplicates-from-sorted-list/
[088-question]: https://leetcode.com/problems/merge-sorted-array/
[100-question]: https://leetcode.com/problems/same-tree/
[101-question]: https://leetcode.com/problems/symmetric-tree/
[104-question]: https://leetcode.com/problems/maximum-depth-of-binary-tree/
[107-question]: https://leetcode.com/problems/binary-tree-level-order-traversal-ii/
[108-question]: https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree/
[110-question]: https://leetcode.com/problems/balanced-binary-tree/
[111-question]: https://leetcode.com/problems/minimum-depth-of-binary-tree/description/
[112-question]: https://leetcode.com/problems/path-sum/description/
[118-question]: https://leetcode.com/problems/pascals-triangle/
[119-question]: https://leetcode.com/problems/pascals-triangle-ii/
[121-question]: https://leetcode.com/problems/best-time-to-buy-and-sell-stock/description/
[122-question]: https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii/description/
[125-question]: https://leetcode.com/problems/valid-palindrome/
[136-question]: https://leetcode.com/problems/single-number/
[141-question]: https://leetcode.com/problems/linked-list-cycle/
[155-question]: https://leetcode.com/problems/min-stack/
[160-question]: https://leetcode.com/problems/intersection-of-two-linked-lists/
[167-question]: https://leetcode.com/problems/two-sum-ii-input-array-is-sorted/
[168-question]: https://leetcode.com/problems/excel-sheet-column-title/
[169-question]: https://leetcode.com/problems/majority-element/
[171-question]: https://leetcode.com/problems/excel-sheet-column-number/
[226-question]: https://leetcode.com/problems/invert-binary-tree/
[504-question]: https://leetcode.com/problems/base-7/description/
[543-question]: https://leetcode.com/problems/diameter-of-binary-tree/
[554-question]: https://leetcode.com/problems/brick-wall/description/
[561-question]: https://leetcode.com/problems/array-partition-i/
[643-question]: https://leetcode.com/problems/maximum-average-subarray-i/
[645-question]: https://leetcode.com/problems/set-mismatch/
[653-question]: https://leetcode.com/problems/two-sum-iv-input-is-a-bst/
[657-question]: https://leetcode.com/problems/judge-route-circle/
[661-question]: https://leetcode.com/problems/image-smoother/
[665-question]: https://leetcode.com/problems/non-decreasing-array/
[669-question]: https://leetcode.com/problems/trim-a-binary-search-tree/
[671-question]: https://leetcode.com/problems/second-minimum-node-in-a-binary-tree/
[674-question]: https://leetcode.com/problems/longest-continuous-increasing-subsequence/
[680-question]: https://leetcode.com/problems/valid-palindrome-ii/
[682-question]: https://leetcode.com/problems/baseball-game/
[686-question]: https://leetcode.com/problems/repeated-string-match/
[687-question]: https://leetcode.com/problems/longest-univalue-path/
[693-question]: https://leetcode.com/problems/binary-number-with-alternating-bits/
[695-question]: https://leetcode.com/problems/max-area-of-island/
[696-question]: https://leetcode.com/problems/count-binary-substrings/
[697-question]: https://leetcode.com/problems/degree-of-an-array/
[717-question]: https://leetcode.com/problems/1-bit-and-2-bit-characters/
[720-question]: https://leetcode.com/problems/longest-word-in-dictionary/
[728-question]: https://leetcode.com/problems/self-dividing-numbers/description/
[724-question]: https://leetcode.com/problems/find-pivot-index/
[733-question]: https://leetcode.com/problems/flood-fill/
[744-question]: https://leetcode.com/problems/find-smallest-letter-greater-than-target/
[746-question]: https://leetcode.com/problems/min-cost-climbing-stairs/
[747-question]: https://leetcode.com/problems/largest-number-at-least-twice-of-others/
[762-question]: https://leetcode.com/problems/prime-number-of-set-bits-in-binary-representation/
[766-question]: https://leetcode.com/problems/toeplitz-matrix/description/
[771-question]: https://leetcode.com/problems/jewels-and-stones/description/
[783-question]: https://leetcode.com/problems/minimum-distance-between-bst-nodes/
[784-question]: https://leetcode.com/problems/letter-case-permutation/description/
[788-question]: https://leetcode.com/problems/rotated-digits/
[796-question]: https://leetcode.com/problems/rotate-string/
[804-question]: https://leetcode.com/problems/unique-morse-code-words/description/
[806-question]: https://leetcode.com/problems/number-of-lines-to-write-string/

[001-tips]: ./tips/001/README.md
[002-tips]: ./tips/002/README.md
[003-tips]: ./tips/003/README.md
[004-tips]: ./tips/004/README.md
[005-tips]: ./tips/005/README.md
[006-tips]: ./tips/006/README.md
[007-tips]: ./tips/007/README.md
[008-tips]: ./tips/008/README.md
[009-tips]: ./tips/009/README.md
[010-tips]: ./tips/010/README.md
[011-tips]: ./tips/011/README.md
[012-tips]: ./tips/012/README.md
[013-tips]: ./tips/013/README.md
[014-tips]: ./tips/014/README.md
[015-tips]: ./tips/015/README.md
[016-tips]: ./tips/016/README.md
[017-tips]: ./tips/017/README.md
[018-tips]: ./tips/018/README.md
[019-tips]: ./tips/019/README.md
[020-tips]: ./tips/020/README.md
[021-tips]: ./tips/021/README.md
[022-tips]: ./tips/022/README.md
[023-tips]: ./tips/023/README.md
[024-tips]: ./tips/024/README.md
[025-tips]: ./tips/025/README.md
[026-tips]: ./tips/026/README.md
[027-tips]: ./tips/027/README.md
[028-tips]: ./tips/028/README.md
[029-tips]: ./tips/029/README.md
[030-tips]: ./tips/030/README.md
[033-tips]: ./tips/033/README.md
[035-tips]: ./tips/035/README.md
[038-tips]: ./tips/038/README.md
[043-tips]: ./tips/043/README.md
[044-tips]: ./tips/044/README.md
[049-tips]: ./tips/049/README.md
[050-tips]: ./tips/050/README.md
[053-tips]: ./tips/053/README.md
[056-tips]: ./tips/056/README.md
[057-tips]: ./tips/057/README.md
[058-tips]: ./tips/058/README.md
[066-tips]: ./tips/066/README.md
[067-tips]: ./tips/067/README.md
[068-tips]: ./tips/068/README.md
[069-tips]: ./tips/069/README.md
[070-tips]: ./tips/070/README.md
[083-tips]: ./tips/083/README.md
[088-tips]: ./tips/088/README.md
[100-tips]: ./tips/100/README.md
[101-tips]: ./tips/101/README.md
[104-tips]: ./tips/104/README.md
[107-tips]: ./tips/107/README.md
[108-tips]: ./tips/108/README.md
[110-tips]: ./tips/110/README.md
[111-tips]: ./tips/111/README.md
[112-tips]: ./tips/112/README.md
[118-tips]: ./tips/118/README.md
[119-tips]: ./tips/119/README.md
[121-tips]: ./tips/121/README.md
[122-tips]: ./tips/122/README.md
[125-tips]: ./tips/125/README.md
[136-tips]: ./tips/136/README.md
[141-tips]: ./tips/141/README.md
[155-tips]: ./tips/155/README.md
[160-tips]: ./tips/160/README.md
[167-tips]: ./tips/167/README.md
[168-tips]: ./tips/168/README.md
[169-tips]: ./tips/169/README.md
[171-tips]: ./tips/171/README.md
[226-tips]: ./tips/226/README.md
[504-tips]: ./tips/504/README.md
[543-tips]: ./tips/543/README.md
[554-tips]: ./tips/554/README.md
[561-tips]: ./tips/561/README.md
[643-tips]: ./tips/643/README.md
[645-tips]: ./tips/645/README.md
[653-tips]: ./tips/653/README.md
[657-tips]: ./tips/657/README.md
[661-tips]: ./tips/661/README.md
[665-tips]: ./tips/665/README.md
[669-tips]: ./tips/669/README.md
[671-tips]: ./tips/671/README.md
[674-tips]: ./tips/674/README.md
[680-tips]: ./tips/680/README.md
[682-tips]: ./tips/682/README.md
[686-tips]: ./tips/686/README.md
[687-tips]: ./tips/687/README.md
[693-tips]: ./tips/693/README.md
[695-tips]: ./tips/695/README.md
[696-tips]: ./tips/696/README.md
[697-tips]: ./tips/697/README.md
[717-tips]: ./tips/717/README.md
[720-tips]: ./tips/720/README.md
[724-tips]: ./tips/724/README.md
[728-tips]: ./tips/728/README.md
[733-tips]: ./tips/733/README.md
[744-tips]: ./tips/744/README.md
[746-tips]: ./tips/746/README.md
[747-tips]: ./tips/747/README.md
[762-tips]: ./tips/762/README.md
[766-tips]: ./tips/766/README.md
[771-tips]: ./tips/771/README.md
[783-tips]: ./tips/783/README.md
[784-tips]: ./tips/784/README.md
[788-tips]: ./tips/788/README.md
[796-tips]: ./tips/796/README.md
[804-tips]: ./tips/804/README.md
[806-tips]: ./tips/806/README.md

[001-js]: ./src/_001/Solution.js
[007-js]: ./src/_007/Solution.js
[009-js]: ./src/_009/Solution.js
[013-js]: ./src/_013/Solution.js
[014-js]: ./src/_014/Solution.js
[020-js]: ./src/_020/Solution.js
[021-js]: ./src/_021/Solution.js
[026-js]: ./src/_026/Solution.js
[027-js]: ./src/_027/Solution.js
[028-js]: ./src/_028/Solution.js
[035-js]: ./src/_035/Solution.js
[038-js]: ./src/_038/Solution.js
[053-js]: ./src/_053/Solution.js
[058-js]: ./src/_058/Solution.js
[066-js]: ./src/_066/Solution.js
[067-js]: ./src/_067/Solution.js
[069-js]: ./src/_069/Solution.js
[070-js]: ./src/_070/Solution.js
[083-js]: ./src/_083/Solution.js
[088-js]: ./src/_088/Solution.js
[100-js]: ./src/_100/Solution.js
[101-js]: ./src/_101/Solution.js
[104-js]: ./src/_104/Solution.js
[107-js]: ./src/_107/Solution.js
[108-js]: ./src/_108/Solution.js
[110-js]: ./src/_110/Solution.js
[111-js]: ./src/_111/Solution.js
[112-js]: ./src/_112/Solution.js
[118-js]: ./src/_118/Solution.js
[119-js]: ./src/_119/Solution.js
[121-js]: ./src/_121/Solution.js
[122-js]: ./src/_122/Solution.js
[125-js]: ./src/_125/Solution.js
[136-js]: ./src/_136/Solution.js
[155-js]: ./src/_155/Solution.js
[167-js]: ./src/_167/Solution.js
[168-js]: ./src/_168/Solution.js
[169-js]: ./src/_169/Solution.js
[171-js]: ./src/_171/Solution.js
[226-js]: ./src/_226/Solution.js
[561-js]: ./src/_561/Solution.js
[643-js]: ./src/_643/Solution.js
[645-js]: ./src/_645/Solution.js
[653-js]: ./src/_653/Solution.js
[657-js]: ./src/_657/Solution.js
[661-js]: ./src/_661/Solution.js
[665-js]: ./src/_665/Solution.js
[669-js]: ./src/_669/Solution.js
[671-js]: ./src/_671/Solution.js
[674-js]: ./src/_674/Solution.js
[680-js]: ./src/_680/Solution.js
[682-js]: ./src/_682/Solution.js
[686-js]: ./src/_686/Solution.js
[687-js]: ./src/_687/Solution.js
[693-js]: ./src/_693/Solution.js
[695-js]: ./src/_695/Solution.js
[696-js]: ./src/_696/Solution.js
[697-js]: ./src/_697/Solution.js
[717-js]: ./src/_717/Solution.js
[720-js]: ./src/_720/Solution.js
[724-js]: ./src/_724/Solution.js
[728-js]: ./src/_728/Solution.js
[733-js]: ./src/_733/Solution.js
[744-js]: ./src/_744/Solution.js
[746-js]: ./src/_746/Solution.js
[747-js]: ./src/_747/Solution.js
[762-js]: ./src/_762/Solution.js
[766-js]: ./src/_766/Solution.js
[771-js]: ./src/_771/Solution.js
[783-js]: ./src/_783/Solution.js
[784-js]: ./src/_784/Solution.js
[788-js]: ./src/_788/Solution.js
[796-js]: ./src/_796/Solution.js
[806-js]: ./src/_806/Solution.js

[001-java]: ./src/_001/Solution.java
[002-java]: ./src/_002/Solution.java
[003-java]: ./src/_003/Solution.java
[004-java]: ./src/_004/Solution.java
[005-java]: ./src/_005/Solution.java
[006-java]: ./src/_006/Solution.java
[007-java]: ./src/_007/Solution.java
[008-java]: ./src/_008/Solution.java
[009-java]: ./src/_009/Solution.java
[010-java]: ./src/_010/Solution.java
[011-java]: ./src/_011/Solution.java
[012-java]: ./src/_012/Solution.java
[013-java]: ./src/_013/Solution.java
[014-java]: ./src/_014/Solution.java
[015-java]: ./src/_015/Solution.java
[016-java]: ./src/_016/Solution.java
[017-java]: ./src/_017/Solution.java
[018-java]: ./src/_018/Solution.java
[019-java]: ./src/_019/Solution.java
[020-java]: ./src/_020/Solution.java
[021-java]: ./src/_021/Solution.java
[022-java]: ./src/_022/Solution.java
[023-java]: ./src/_023/Solution.java
[024-java]: ./src/_024/Solution.java
[025-java]: ./src/_025/Solution.java
[026-java]: ./src/_026/Solution.java
[027-java]: ./src/_027/Solution.java
[028-java]: ./src/_028/Solution.java
[029-java]: ./src/_029/Solution.java
[030-java]: ./src/_030/Solution.java
[033-java]: ./src/_033/Solution.java
[035-java]: ./src/_035/Solution.java
[038-java]: ./src/_038/Solution.java
[043-java]: ./src/_043/Solution.java
[044-java]: ./src/_044/Solution.java
[049-java]: ./src/_049/Solution.java
[050-java]: ./src/_050/Solution.java
[053-java]: ./src/_053/Solution.java
[056-java]: ./src/_056/Solution.java
[057-java]: ./src/_057/Solution.java
[058-java]: ./src/_058/Solution.java
[066-java]: ./src/_066/Solution.java
[067-java]: ./src/_067/Solution.java
[068-java]: ./src/_068/Solution.java
[069-java]: ./src/_069/Solution.java
[070-java]: ./src/_070/Solution.java
[083-java]: ./src/_083/Solution.java
[088-java]: ./src/_088/Solution.java
[100-java]: ./src/_100/Solution.java
[101-java]: ./src/_101/Solution.java
[104-java]: ./src/_104/Solution.java
[107-java]: ./src/_107/Solution.java
[108-java]: ./src/_108/Solution.java
[110-java]: ./src/_110/Solution.java
[111-java]: ./src/_111/Solution.java
[112-java]: ./src/_112/Solution.java
[118-java]: ./src/_118/Solution.java
[119-java]: ./src/_119/Solution.java
[121-java]: ./src/_121/Solution.java
[122-java]: ./src/_122/Solution.java
[141-java]: ./src/_141/Solution.java
[155-java]: ./src/_155/MinStack.java
[160-java]: ./src/_160/Solution.java
[226-java]: ./src/_226/Solution.java
[543-java]: ./src/_543/Solution.java
[554-java]: ./src/_554/Solution.java
[561-java]: ./src/_561/Solution.java
[643-java]: ./src/_643/Solution.java
[645-java]: ./src/_645/Solution.java
[653-java]: ./src/_653/Solution.java
[657-java]: ./src/_657/Solution.java
[661-java]: ./src/_661/Solution.java
[665-java]: ./src/_665/Solution.java
[669-java]: ./src/_669/Solution.java
[671-java]: ./src/_671/Solution.java
[674-java]: ./src/_674/Solution.java
[680-java]: ./src/_680/Solution.java
[686-java]: ./src/_686/Solution.java
[687-java]: ./src/_687/Solution.java
[682-java]: ./src/_682/Solution.java
[693-java]: ./src/_693/Solution.java
[695-java]: ./src/_695/Solution.java
[696-java]: ./src/_696/Solution.java
[697-java]: ./src/_697/Solution.java
[717-java]: ./src/_717/Solution.java
[720-java]: ./src/_720/Solution.java
[724-java]: ./src/_724/Solution.java
[728-java]: ./src/_728/Solution.java
[733-java]: ./src/_733/Solution.java
[744-java]: ./src/_744/Solution.java
[746-java]: ./src/_746/Solution.java
[747-java]: ./src/_747/Solution.java
[762-java]: ./src/_762/Solution.java
[766-java]: ./src/_766/Solution.java
[771-java]: ./src/_771/Solution.java
[783-java]: ./src/_783/Solution.java
[804-java]: ./src/_804/Solution.java

[001-kotlin]: ./src/_001/kotlin/Solution.kt
[002-kotlin]: ./src/_002/kotlin/Solution.kt
[003-kotlin]: ./src/_003/kotlin/Solution.kt
[004-kotlin]: ./src/_004/kotlin/Solution.kt
[007-kotlin]: ./src/_007/kotlin/Solution.kt
[009-kotlin]: ./src/_009/kotlin/Solution.kt
[013-kotlin]: ./src/_013/kotlin/Solution.kt
[014-kotlin]: ./src/_014/kotlin/Solution.kt
[020-kotlin]: ./src/_020/kotlin/Solution.kt
[021-kotlin]: ./src/_021/kotlin/Solution.kt
[026-kotlin]: ./src/_026/kotlin/Solution.kt
[027-kotlin]: ./src/_027/kotlin/Solution.kt
[028-kotlin]: ./src/_028/kotlin/Solution.kt
[035-kotlin]: ./src/_035/kotlin/Solution.kt
[038-kotlin]: ./src/_038/kotlin/Solution.kt
[053-kotlin]: ./src/_053/kotlin/Solution.kt
[058-kotlin]: ./src/_058/kotlin/Solution.kt
[066-kotlin]: ./src/_066/kotlin/Solution.kt
[067-kotlin]: ./src/_067/kotlin/Solution.kt
[069-kotlin]: ./src/_069/kotlin/Solution.kt
[070-kotlin]: ./src/_070/kotlin/Solution.kt
[083-kotlin]: ./src/_083/kotlin/Solution.kt
[088-kotlin]: ./src/_088/kotlin/Solution.kt
[100-kotlin]: ./src/_100/kotlin/Solution.kt
[101-kotlin]: ./src/_101/kotlin/Solution.kt
[104-kotlin]: ./src/_104/kotlin/Solution.kt
[107-kotlin]: ./src/_107/kotlin/Solution.kt
[108-kotlin]: ./src/_108/kotlin/Solution.kt
[110-kotlin]: ./src/_110/kotlin/Solution.kt
[111-kotlin]: ./src/_111/kotlin/Solution.kt
[112-kotlin]: ./src/_112/kotlin/Solution.kt
[118-kotlin]: ./src/_118/kotlin/Solution.kt
[119-kotlin]: ./src/_119/kotlin/Solution.kt
[121-kotlin]: ./src/_121/kotlin/Solution.kt
[122-kotlin]: ./src/_122/kotlin/Solution.kt
[125-kotlin]: ./src/_125/kotlin/Solution.kt
[136-kotlin]: ./src/_136/kotlin/Solution.kt
[155-kotlin]: ./src/_155/kotlin/MinStack.kt
[226-kotlin]: ./src/_226/kotlin/Solution.kt
[504-kotlin]: ./src/_504/kotlin/Solution.kt
[543-kotlin]: ./src/_543/kotlin/Solution.kt
[771-kotlin]: ./src/_771/kotlin/Solution.kt