crimx / Leetcope
Leetcode solutions in JavaScript. Most of them are within the top 90% of JavaScript runtime distribution.
Stars: ✭ 66
Programming Languages
javascript
184084 projects - #8 most used programming language
shell
77523 projects
Labels
Projects that are alternatives of or similar to Leetcope
Data Structure
基于java语言的数据结构及算法实现,LeetCode算法示例
Stars: ✭ 348 (+427.27%)
Mutual labels: leetcode-solutions
Algorithm study
algorithms and data structures for coding contest (designed for 'copy & paste')
Stars: ✭ 33 (-50%)
Mutual labels: leetcode-solutions
Daily Deeplearning
🔥机器学习/深度学习/Python/算法面试/自然语言处理教程/剑指offer/machine learning/deeplearning/Python/Algorithm interview/NLP Tutorial
Stars: ✭ 381 (+477.27%)
Mutual labels: leetcode-solutions
Leetcode
Provide all my solutions and explanations in Chinese for all the Leetcode coding problems.
Stars: ✭ 5,619 (+8413.64%)
Mutual labels: leetcode-solutions
Shortest Leetcode Python Solutions
Leet Code 刷题笔记 - - 不求最快最省,但求最短最优雅,Shorter is better here.
Stars: ✭ 735 (+1013.64%)
Mutual labels: leetcode-solutions
Leetcode
LeetCode Top 100 Liked Questions | Top Interview Questions | LeetCode 用户最喜欢的100题 | 面试最容易被问到的题
Stars: ✭ 312 (+372.73%)
Mutual labels: leetcode-solutions
Leetcode
👏🏻 leetcode solutions for Humans™
Stars: ✭ 1,129 (+1610.61%)
Mutual labels: leetcode-solutions
Clearest Leetcode Cpp Solutions
Clearest LeetCode C++ Solutions. 本项目追求思路清晰,代码简洁。This project is intended to clarify the general problem solving ideas
Stars: ✭ 33 (-50%)
Mutual labels: leetcode-solutions
Coding Interview Gym
leetcode.com , algoexpert.io solutions in python and swift
Stars: ✭ 451 (+583.33%)
Mutual labels: leetcode-solutions
Leetcode
✨✌️✨leetcode刷题 内附leetcode solution代码自动下载生成器(Leetcode solution auto generator)
Stars: ✭ 504 (+663.64%)
Mutual labels: leetcode-solutions
Leetcode
(229 / 280) [中文|English] Solutions and notes of LEETCODE using C++/Java/Python/Sql/Shell Script.
Stars: ✭ 747 (+1031.82%)
Mutual labels: leetcode-solutions
Awesome Leetcode
💅 A collection of awesome leetcode solutions
Stars: ✭ 377 (+471.21%)
Mutual labels: leetcode-solutions
Onlinejudge Solutions
Collection of solutions to online judge problems
Stars: ✭ 45 (-31.82%)
Mutual labels: leetcode-solutions
Hello Algorithm
🌍 针对小白的算法训练 | 包括四部分:①.算法基础 ②.力扣图解 ③.大厂面经 ④.CS_汇总 | 附:1、千本开源电子书 2、百张技术思维导图(项目花了上百小时,希望可以点 star 支持,🌹感谢~)
Stars: ✭ 29,372 (+44403.03%)
Mutual labels: leetcode-solutions
Awesome Java Leetcode
👑 LeetCode of algorithms with java solution(updating).
Stars: ✭ 8,297 (+12471.21%)
Mutual labels: leetcode-solutions
Leetcope
Leetcode solutions in JavaScript. Most of them are within the top 90% of JavaScript runtime distribution (2018).
Templates are generated via Leetmark.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Difficulty
Easy
- 001. Two Sum.md
- 007. Reverse Integer.md
- 009. Palindrome Number.md
- 013. Roman to Integer.md
- 014. Longest Common Prefix.md
- 020. Valid Parentheses.md
- 021. Merge Two Sorted Lists.md
- 026. Remove Duplicates from Sorted Array.md
- 027. Remove Element.md
- 028. Implement strStr().md
- 035. Search Insert Position.md
- 038. Count and Say.md
- 053. Maximum Subarray.md
- 058. Length of Last Word.md
- 066. Plus One.md
- 067. Add Binary.md
- 069. Sqrt(x).md
- 070. Climbing Stairs.md
- 083. Remove Duplicates from Sorted List.md
- 088. Merge Sorted Array.md
- 100. Same Tree.md
- 101. Symmetric Tree.md
- 104. Maximum Depth of Binary Tree.md
- 107. Binary Tree Level Order Traversal II.md
- 108. Convert Sorted Array to Binary Search Tree.md
- 110. Balanced Binary Tree.md
- 111. Minimum Depth of Binary Tree.md
- 112. Path Sum.md
- 118. Pascal's Triangle.md
- 119. Pascal's Triangle II.md
- 121. Best Time to Buy and Sell Stock.md
- 122. Best Time to Buy and Sell Stock II.md
- 125. Valid Palindrome.md
Medium
- 002. Add Two Numbers.md
- 003. Longest Substring Without Repeating Characters.md
- 005. Longest Palindromic Substring.md
- 006. ZigZag Conversion.md
- 008. String to Integer (atoi).md
- 011. Container With Most Water.md
- 012. Integer to Roman.md
- 015. 3Sum.md
- 016. 3Sum Closest.md
- 017. Letter Combinations of a Phone Number.md
- 018. 4Sum.md
- 019. Remove Nth Node From End of List.md
- 022. Generate Parentheses.md
- 024. Swap Nodes in Pairs.md
- 029. Divide Two Integers.md
- 031. Next Permutation.md
- 033. Search in Rotated Sorted Array.md
- 034. Find First and Last Position of Element in Sorted Array.md
- 036. Valid Sudoku.md
- 039. Combination Sum.md
- 040. Combination Sum II.md
- 043. Multiply Strings.md
- 046. Permutations.md
- 047. Permutations II.md
- 048. Rotate Image.md
- 049. Group Anagrams.md
- 050. Pow(x, n).md
- 054. Spiral Matrix.md
- 055. Jump Game.md
- 056. Merge Intervals.md
- 059. Spiral Matrix II.md
- 060. Permutation Sequence.md
- 061. Rotate List.md
- 062. Unique Paths.md
- 063. Unique Paths II.md
- 064. Minimum Path Sum.md
- 071. Simplify Path.md
- 073. Set Matrix Zeroes.md
- 074. Search a 2D Matrix.md
- 075. Sort Colors.md
- 077. Combinations.md
- 078. Subsets.md
- 079. Word Search.md
- 080. Remove Duplicates from Sorted Array II.md
- 081. Search in Rotated Sorted Array II.md
- 082. Remove Duplicates from Sorted List II.md
- 086. Partition List.md
- 089. Gray Code.md
- 090. Subsets II.md
- 091. Decode Ways.md
- 092. Reverse Linked List II.md
- 093. Restore IP Addresses.md
- 094. Binary Tree Inorder Traversal.md
- 095. Unique Binary Search Trees II.md
- 096. Unique Binary Search Trees.md
- 098. Validate Binary Search Tree.md
- 102. Binary Tree Level Order Traversal.md
- 103. Binary Tree Zigzag Level Order Traversal.md
- 105. Construct Binary Tree from Preorder and Inorder Traversal.md
- 106. Construct Binary Tree from Inorder and Postorder Traversal.md
- 109. Convert Sorted List to Binary Search Tree.md
- 113. Path Sum II.md
- 114. Flatten Binary Tree to Linked List.md
- 116. Populating Next Right Pointers in Each Node.md
- 117. Populating Next Right Pointers in Each Node II.md
- 120. Triangle.md
- 127. Word Ladder.md
- 129. Sum Root to Leaf Numbers.md
- 130. Surrounded Regions.md
- 131. Palindrome Partitioning.md
- 133. Clone Graph.md
Hard
- 004. Median of Two Sorted Arrays.md
- 010. Regular Expression Matching.md
- 023. Merge k Sorted Lists.md
- 025. Reverse Nodes in k-Group.md
- 030. Substring with Concatenation of All Words.md
- 032. Longest Valid Parentheses.md
- 037. Sudoku Solver.md
- 041. First Missing Positive.md
- 042. Trapping Rain Water.md
- 044. Wildcard Matching.md
- 045. Jump Game II.md
- 051. N-Queens.md
- 052. N-Queens II.md
- 057. Insert Interval.md
- 065. Valid Number.md
- 068. Text Justification.md
- 072. Edit Distance.md
- 076. Minimum Window Substring.md
- 084. Largest Rectangle in Histogram.md
- 085. Maximal Rectangle.md
- 087. Scramble String.md
- 097. Interleaving String.md
- 099. Recover Binary Search Tree.md
- 115. Distinct Subsequences.md
- 123. Best Time to Buy and Sell Stock III.md
- 124. Binary Tree Maximum Path Sum.md
- 126. Word Ladder II.md
- 128. Longest Consecutive Sequence.md
- 132. Palindrome Partitioning II.md
Related Topics
Array
- 001. Two Sum.md
- 004. Median of Two Sorted Arrays.md
- 011. Container With Most Water.md
- 015. 3Sum.md
- 016. 3Sum Closest.md
- 018. 4Sum.md
- 026. Remove Duplicates from Sorted Array.md
- 027. Remove Element.md
- 031. Next Permutation.md
- 033. Search in Rotated Sorted Array.md
- 034. Find First and Last Position of Element in Sorted Array.md
- 035. Search Insert Position.md
- 039. Combination Sum.md
- 040. Combination Sum II.md
- 041. First Missing Positive.md
- 042. Trapping Rain Water.md
- 045. Jump Game II.md
- 048. Rotate Image.md
- 053. Maximum Subarray.md
- 054. Spiral Matrix.md
- 055. Jump Game.md
- 056. Merge Intervals.md
- 057. Insert Interval.md
- 059. Spiral Matrix II.md
- 062. Unique Paths.md
- 063. Unique Paths II.md
- 064. Minimum Path Sum.md
- 066. Plus One.md
- 073. Set Matrix Zeroes.md
- 074. Search a 2D Matrix.md
- 075. Sort Colors.md
- 078. Subsets.md
- 079. Word Search.md
- 080. Remove Duplicates from Sorted Array II.md
- 081. Search in Rotated Sorted Array II.md
- 084. Largest Rectangle in Histogram.md
- 085. Maximal Rectangle.md
- 088. Merge Sorted Array.md
- 090. Subsets II.md
- 105. Construct Binary Tree from Preorder and Inorder Traversal.md
- 106. Construct Binary Tree from Inorder and Postorder Traversal.md
- 118. Pascal's Triangle.md
- 119. Pascal's Triangle II.md
- 120. Triangle.md
- 121. Best Time to Buy and Sell Stock.md
- 122. Best Time to Buy and Sell Stock II.md
- 123. Best Time to Buy and Sell Stock III.md
- 126. Word Ladder II.md
- 128. Longest Consecutive Sequence.md
Backtracking
- 010. Regular Expression Matching.md
- 017. Letter Combinations of a Phone Number.md
- 022. Generate Parentheses.md
- 037. Sudoku Solver.md
- 039. Combination Sum.md
- 040. Combination Sum II.md
- 044. Wildcard Matching.md
- 046. Permutations.md
- 047. Permutations II.md
- 051. N-Queens.md
- 052. N-Queens II.md
- 060. Permutation Sequence.md
- 077. Combinations.md
- 078. Subsets.md
- 079. Word Search.md
- 089. Gray Code.md
- 090. Subsets II.md
- 093. Restore IP Addresses.md
- 126. Word Ladder II.md
- 131. Palindrome Partitioning.md
Binary Search
- 004. Median of Two Sorted Arrays.md
- 029. Divide Two Integers.md
- 033. Search in Rotated Sorted Array.md
- 034. Find First and Last Position of Element in Sorted Array.md
- 035. Search Insert Position.md
- 050. Pow(x, n).md
- 069. Sqrt(x).md
- 074. Search a 2D Matrix.md
- 081. Search in Rotated Sorted Array II.md
Bit Manipulation
Breadth-first Search
Depth-first Search
- 098. Validate Binary Search Tree.md
- 099. Recover Binary Search Tree.md
- 100. Same Tree.md
- 101. Symmetric Tree.md
- 104. Maximum Depth of Binary Tree.md
- 105. Construct Binary Tree from Preorder and Inorder Traversal.md
- 106. Construct Binary Tree from Inorder and Postorder Traversal.md
- 108. Convert Sorted Array to Binary Search Tree.md
- 109. Convert Sorted List to Binary Search Tree.md
- 110. Balanced Binary Tree.md
- 111. Minimum Depth of Binary Tree.md
- 112. Path Sum.md
- 113. Path Sum II.md
- 114. Flatten Binary Tree to Linked List.md
- 116. Populating Next Right Pointers in Each Node.md
- 117. Populating Next Right Pointers in Each Node II.md
- 124. Binary Tree Maximum Path Sum.md
- 129. Sum Root to Leaf Numbers.md
- 130. Surrounded Regions.md
- 133. Clone Graph.md
Divide and Conquer
Dynamic Programming
- 005. Longest Palindromic Substring.md
- 010. Regular Expression Matching.md
- 032. Longest Valid Parentheses.md
- 044. Wildcard Matching.md
- 053. Maximum Subarray.md
- 062. Unique Paths.md
- 063. Unique Paths II.md
- 064. Minimum Path Sum.md
- 070. Climbing Stairs.md
- 072. Edit Distance.md
- 085. Maximal Rectangle.md
- 087. Scramble String.md
- 091. Decode Ways.md
- 095. Unique Binary Search Trees II.md
- 096. Unique Binary Search Trees.md
- 097. Interleaving String.md
- 115. Distinct Subsequences.md
- 120. Triangle.md
- 121. Best Time to Buy and Sell Stock.md
- 123. Best Time to Buy and Sell Stock III.md
- 132. Palindrome Partitioning II.md
Graph
Greedy
Hash Table
Linked List
- 002. Add Two Numbers.md
- 019. Remove Nth Node From End of List.md
- 021. Merge Two Sorted Lists.md
- 023. Merge k Sorted Lists.md
- 024. Swap Nodes in Pairs.md
- 025. Reverse Nodes in k-Group.md
- 061. Rotate List.md
- 082. Remove Duplicates from Sorted List II.md
- 083. Remove Duplicates from Sorted List.md
- 086. Partition List.md
- 092. Reverse Linked List II.md
- 109. Convert Sorted List to Binary Search Tree.md
Math
- 002. Add Two Numbers.md
- 007. Reverse Integer.md
- 008. String to Integer (atoi).md
- 009. Palindrome Number.md
- 012. Integer to Roman.md
- 013. Roman to Integer.md
- 029. Divide Two Integers.md
- 043. Multiply Strings.md
- 050. Pow(x, n).md
- 060. Permutation Sequence.md
- 065. Valid Number.md
- 066. Plus One.md
- 067. Add Binary.md
- 069. Sqrt(x).md
Stack
String
- 003. Longest Substring Without Repeating Characters.md
- 005. Longest Palindromic Substring.md
- 006. ZigZag Conversion.md
- 008. String to Integer (atoi).md
- 010. Regular Expression Matching.md
- 012. Integer to Roman.md
- 013. Roman to Integer.md
- 014. Longest Common Prefix.md
- 017. Letter Combinations of a Phone Number.md
- 020. Valid Parentheses.md
- 022. Generate Parentheses.md
- 028. Implement strStr().md
- 030. Substring with Concatenation of All Words.md
- 032. Longest Valid Parentheses.md
- 038. Count and Say.md
- 043. Multiply Strings.md
- 044. Wildcard Matching.md
- 049. Group Anagrams.md
- 058. Length of Last Word.md
- 065. Valid Number.md
- 067. Add Binary.md
- 068. Text Justification.md
- 071. Simplify Path.md
- 072. Edit Distance.md
- 076. Minimum Window Substring.md
- 087. Scramble String.md
- 091. Decode Ways.md
- 093. Restore IP Addresses.md
- 097. Interleaving String.md
- 115. Distinct Subsequences.md
- 125. Valid Palindrome.md
- 126. Word Ladder II.md
Tree
- 094. Binary Tree Inorder Traversal.md
- 095. Unique Binary Search Trees II.md
- 096. Unique Binary Search Trees.md
- 098. Validate Binary Search Tree.md
- 099. Recover Binary Search Tree.md
- 100. Same Tree.md
- 101. Symmetric Tree.md
- 102. Binary Tree Level Order Traversal.md
- 103. Binary Tree Zigzag Level Order Traversal.md
- 104. Maximum Depth of Binary Tree.md
- 105. Construct Binary Tree from Preorder and Inorder Traversal.md
- 106. Construct Binary Tree from Inorder and Postorder Traversal.md
- 107. Binary Tree Level Order Traversal II.md
- 108. Convert Sorted Array to Binary Search Tree.md
- 110. Balanced Binary Tree.md
- 111. Minimum Depth of Binary Tree.md
- 112. Path Sum.md
- 113. Path Sum II.md
- 114. Flatten Binary Tree to Linked List.md
- 116. Populating Next Right Pointers in Each Node.md
- 117. Populating Next Right Pointers in Each Node II.md
- 124. Binary Tree Maximum Path Sum.md
- 129. Sum Root to Leaf Numbers.md
Two Pointers
- 003. Longest Substring Without Repeating Characters.md
- 011. Container With Most Water.md
- 015. 3Sum.md
- 016. 3Sum Closest.md
- 018. 4Sum.md
- 019. Remove Nth Node From End of List.md
- 026. Remove Duplicates from Sorted Array.md
- 027. Remove Element.md
- 028. Implement strStr().md
- 030. Substring with Concatenation of All Words.md
- 042. Trapping Rain Water.md
- 061. Rotate List.md
- 075. Sort Colors.md
- 076. Minimum Window Substring.md
- 080. Remove Duplicates from Sorted Array II.md
- 086. Partition List.md
- 088. Merge Sorted Array.md
- 125. Valid Palindrome.md
Similar Questions
1-bit and 2-bit Characters
3Sum Closest
3Sum Smaller
4Sum II
Add Bold Tag in String
Add Strings
Add Two Numbers
Add Two Numbers II
Average of Levels in Binary Tree
Balanced Binary Tree
Best Time to Buy and Sell Stock
Best Time to Buy and Sell Stock II
Best Time to Buy and Sell Stock III
Best Time to Buy and Sell Stock IV
Best Time to Buy and Sell Stock with Cooldown
Best Time to Buy and Sell Stock with Transaction Fee
Binary Search Tree Iterator
Binary Tree Inorder Traversal
Binary Tree Level Order Traversal
Binary Tree Level Order Traversal II
Binary Tree Longest Consecutive Sequence
Binary Tree Maximum Path Sum
Binary Tree Paths
Binary Tree Postorder Traversal
Binary Tree Preorder Traversal
Binary Tree Right Side View
Binary Tree Vertical Order Traversal
Binary Tree Zigzag Level Order Traversal
Binary Watch
Cherry Pickup
Closest Binary Search Tree Value II
Combination Sum
Combination Sum II
Combination Sum III
Combination Sum IV
Combinations
Construct Binary Tree from Inorder and Postorder Traversal
Construct Binary Tree from Preorder and Inorder Traversal
Container With Most Water
Convert Binary Search Tree to Sorted Doubly Linked List
Convert Sorted Array to Binary Search Tree
Convert Sorted List to Binary Search Tree
Copy List with Random Pointer
Couples Holding Hands
Decode Ways II
Degree of an Array
Delete Operation for Two Strings
Different Ways to Add Parentheses
Dungeon Game
Employee Free Time
Encode and Decode Strings
Factor Combinations
Find All Numbers Disappeared in an Array
Find Minimum in Rotated Sorted Array
Find Mode in Binary Search Tree
Find the Duplicate Number
First Bad Version
Flatten a Multilevel Doubly Linked List
Game of Life
Generalized Abbreviation
Generate Parentheses
Group Shifted Strings
IP to CIDR
Inorder Successor in BST
Insert Interval
Integer to English Words
Integer to Roman
Jump Game
Jump Game II
Kth Smallest Element in a BST
Largest Rectangle in Histogram
Letter Case Permutation
Letter Combinations of a Phone Number
Longest Palindromic Subsequence
Longest Substring with At Most Two Distinct Characters
Longest Univalue Path
Longest Valid Parentheses
Maximal Rectangle
Maximal Square
Maximum Depth of Binary Tree
Maximum Depth of N-ary Tree
Maximum Product Subarray
Maximum Subarray
Maximum Sum of 3 Non-Overlapping Subarrays
Meeting Rooms
Meeting Rooms II
Merge Intervals
Merge Sorted Array
Merge Two Sorted Lists
Merge k Sorted Lists
Min Cost Climbing Stairs
Minimum ASCII Delete Sum for Two Strings
Minimum Depth of Binary Tree
Minimum Distance Between BST Nodes
Minimum Genetic Mutation
Minimum Path Sum
Minimum Size Subarray Sum
Minimum Window Subsequence
Minimum Window Substring
Missing Number
Move Zeroes
Multiply Strings
N-Queens
N-Queens II
N-ary Tree Level Order Traversal
Next Permutation
Number of Islands
One Edit Distance
Palindrome Linked List
Palindrome Pairs
Palindrome Partitioning
Palindrome Partitioning II
Palindrome Permutation
Palindrome Permutation II
Palindromic Substrings
Partition Labels
Pascal's Triangle
Pascal's Triangle II
Path Sum II
Path Sum III
Permutation Sequence
Permutation in String
Permutations
Permutations II
Plus One Linked List
Populating Next Right Pointers in Each Node
Populating Next Right Pointers in Each Node II
Pour Water
Pow(x, n)
Product of Array Except Self
Range Module
Regular Expression Matching
Remove Duplicates from Sorted Array
Remove Duplicates from Sorted Array II
Remove Duplicates from Sorted List
Remove Duplicates from Sorted List II
Remove Element
Remove Invalid Parentheses
Remove Linked List Elements
Repeated Substring Pattern
Reverse Integer
Reverse Linked List
Reverse Nodes in k-Group
Roman to Integer
Rotate Array
Search a 2D Matrix II
Search in Rotated Sorted Array
Search in Rotated Sorted Array II
Shortest Palindrome
Shortest Word Distance II
Sliding Window Maximum
Smallest Range
Spiral Matrix
Spiral Matrix II
Split Linked List in Parts
Sqrt(x)
String Compression
String to Integer (atoi)
Subarray Sum Equals K
Subsets
Subsets II
Substring with Concatenation of All Words
Sudoku Solver
Sum Root to Leaf Numbers
Sum of Two Integers
Super Pow
Swap Nodes in Pairs
Teemo Attacking
Trapping Rain Water
Trapping Rain Water II
Two Sum
Two Sum II - Input array is sorted
Two Sum III - Data structure design
Two Sum IV - Input is a BST
Ugly Number II
Unique Binary Search Trees
Unique Binary Search Trees II
Unique Paths
Unique Paths II
Valid Anagram
Valid Number
Valid Palindrome II
Valid Parentheses
Valid Perfect Square
Valid Sudoku
Validate Binary Search Tree
Walls and Gates
Wiggle Sort
Wiggle Sort II
Wildcard Matching
Word Ladder
Word Ladder II
Word Search II
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].