Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
emfomy committed Aug 3, 2024
1 parent 769c8a2 commit 6462e5c
Show file tree
Hide file tree
Showing 279 changed files with 2,869 additions and 641 deletions.
454 changes: 240 additions & 214 deletions README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion problems/algorithms/0001.cpp → problems/0001.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Source: https://leetcode.com/problems/two-sum/
// Source: https://leetcode.com/problems/two-sum
// Title: Two Sum
// Difficulty: Easy
// Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0001.go → problems/0001.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Source: https://leetcode.com/problems/two-sum/
// Source: https://leetcode.com/problems/two-sum
// Title: Two Sum
// Difficulty: Easy
// Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0001.py → problems/0001.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Source: https://leetcode.com/problems/two-sum/
# Source: https://leetcode.com/problems/two-sum
# Title: Two Sum
# Difficulty: Easy
# Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0002.cpp → problems/0002.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Source: https://leetcode.com/problems/add-two-numbers/
// Source: https://leetcode.com/problems/add-two-numbers
// Title: Add Two Numbers
// Difficulty: Medium
// Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0002.go → problems/0002.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Source: https://leetcode.com/problems/add-two-numbers/
// Source: https://leetcode.com/problems/add-two-numbers
// Title: Add Two Numbers
// Difficulty: Medium
// Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0002.py → problems/0002.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Source: https://leetcode.com/problems/add-two-numbers/
# Source: https://leetcode.com/problems/add-two-numbers
# Title: Add Two Numbers
# Difficulty: Medium
# Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0003.cpp → problems/0003.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Source: https://leetcode.com/problems/longest-substring-without-repeating-characters/
// Source: https://leetcode.com/problems/longest-substring-without-repeating-characters
// Title: Longest Substring Without Repeating Characters
// Difficulty: Medium
// Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0003.go → problems/0003.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Source: https://leetcode.com/problems/longest-substring-without-repeating-characters/
// Source: https://leetcode.com/problems/longest-substring-without-repeating-characters
// Title: Longest Substring Without Repeating Characters
// Difficulty: Medium
// Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0003.py → problems/0003.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Source: https://leetcode.com/problems/longest-substring-without-repeating-characters/
# Source: https://leetcode.com/problems/longest-substring-without-repeating-characters
# Title: Longest Substring Without Repeating Characters
# Difficulty: Medium
# Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0004.cpp → problems/0004.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Source: https://leetcode.com/problems/median-of-two-sorted-arrays/
// Source: https://leetcode.com/problems/median-of-two-sorted-arrays
// Title: Median of Two Sorted Arrays
// Difficulty: Hard
// Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0004.go → problems/0004.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Source: https://leetcode.com/problems/median-of-two-sorted-arrays/
// Source: https://leetcode.com/problems/median-of-two-sorted-arrays
// Title: Median of Two Sorted Arrays
// Difficulty: Hard
// Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0004.py → problems/0004.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Source: https://leetcode.com/problems/median-of-two-sorted-arrays/
# Source: https://leetcode.com/problems/median-of-two-sorted-arrays
# Title: Median of Two Sorted Arrays
# Difficulty: Hard
# Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0005.go → problems/0005.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Source: https://leetcode.com/problems/longest-palindromic-substring/
// Source: https://leetcode.com/problems/longest-palindromic-substring
// Title: Longest Palindromic Substring
// Difficulty: Medium
// Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0005.py → problems/0005.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Source: https://leetcode.com/problems/longest-palindromic-substring/
# Source: https://leetcode.com/problems/longest-palindromic-substring
# Title: Longest Palindromic Substring
# Difficulty: Medium
# Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0006.go → problems/0006.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Source: https://leetcode.com/problems/zigzag-conversion/
// Source: https://leetcode.com/problems/zigzag-conversion
// Title: ZigZag Conversion
// Difficulty: Medium
// Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0006.py → problems/0006.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Source: https://leetcode.com/problems/zigzag-conversion/
# Source: https://leetcode.com/problems/zigzag-conversion
# Title: ZigZag Conversion
# Difficulty: Medium
# Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0007.py → problems/0007.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Source: https://leetcode.com/problems/reverse-integer/
# Source: https://leetcode.com/problems/reverse-integer
# Title: Reverse Integer
# Difficulty: Easy
# Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0008.py → problems/0008.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Source: https://leetcode.com/problems/string-to-integer-atoi/
# Source: https://leetcode.com/problems/string-to-integer-atoi
# Title: String to Integer (atoi)
# Difficulty: Medium
# Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0009.py → problems/0009.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Source: https://leetcode.com/problems/palindrome-number/
# Source: https://leetcode.com/problems/palindrome-number
# Title: Palindrome Number
# Difficulty: Easy
# Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0010.py → problems/0010.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Source: https://leetcode.com/problems/regular-expression-matching/
# Source: https://leetcode.com/problems/regular-expression-matching
# Title: Regular Expression Matching
# Difficulty: Hard
# Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0011.py → problems/0011.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Source: https://leetcode.com/problems/container-with-most-water/
# Source: https://leetcode.com/problems/container-with-most-water
# Title: Container With Most Water
# Difficulty: Medium
# Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0012.py → problems/0012.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Source: https://leetcode.com/problems/integer-to-roman/
# Source: https://leetcode.com/problems/integer-to-roman
# Title: Integer to Roman
# Difficulty: Medium
# Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0013.go → problems/0013.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Source: https://leetcode.com/problems/roman-to-integer/
// Source: https://leetcode.com/problems/roman-to-integer
// Title: Roman to Integer
// Difficulty: Easy
// Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0013.py → problems/0013.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Source: https://leetcode.com/problems/roman-to-integer/
# Source: https://leetcode.com/problems/roman-to-integer
# Title: Roman to Integer
# Difficulty: Easy
# Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0014.py → problems/0014.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Source: https://leetcode.com/problems/longest-common-prefix/
# Source: https://leetcode.com/problems/longest-common-prefix
# Title: Longest Common Prefix
# Difficulty: Easy
# Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0015.py → problems/0015.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Source: https://leetcode.com/problems/3sum/
# Source: https://leetcode.com/problems/3sum
# Title: 3Sum
# Difficulty: Medium
# Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0016.py → problems/0016.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Source: https://leetcode.com/problems/3sum-closest/
# Source: https://leetcode.com/problems/3sum-closest
# Title: 3Sum Closest
# Difficulty: Medium
# Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0017.py → problems/0017.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Source: https://leetcode.com/problems/letter-combinations-of-a-phone-number/
# Source: https://leetcode.com/problems/letter-combinations-of-a-phone-number
# Title: Letter Combinations of a Phone Number
# Difficulty: Medium
# Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0018.py → problems/0018.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Source: https://leetcode.com/problems/4sum/
# Source: https://leetcode.com/problems/4sum
# Title: 4Sum
# Difficulty: Medium
# Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0019.py → problems/0019.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Source: https://leetcode.com/problems/remove-nth-node-from-end-of-list/
# Source: https://leetcode.com/problems/remove-nth-node-from-end-of-list
# Title: Remove Nth Node From End of List
# Difficulty: Medium
# Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0020.py → problems/0020.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Source: https://leetcode.com/problems/valid-parentheses/
# Source: https://leetcode.com/problems/valid-parentheses
# Title: Valid Parentheses
# Difficulty: Easy
# Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0021.py → problems/0021.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Source: https://leetcode.com/problems/merge-two-sorted-lists/
# Source: https://leetcode.com/problems/merge-two-sorted-lists
# Title: Merge Two Sorted Lists
# Difficulty: Easy
# Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0022.py → problems/0022.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Source: https://leetcode.com/problems/generate-parentheses/
# Source: https://leetcode.com/problems/generate-parentheses
# Title: Generate Parentheses
# Difficulty: Medium
# Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0023.py → problems/0023.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Source: https://leetcode.com/problems/merge-k-sorted-lists/
# Source: https://leetcode.com/problems/merge-k-sorted-lists
# Title: Merge k Sorted Lists
# Difficulty: Hard
# Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0024.py → problems/0024.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Source: https://leetcode.com/problems/swap-nodes-in-pairs/
# Source: https://leetcode.com/problems/swap-nodes-in-pairs
# Title: Swap Nodes in Pairs
# Difficulty: Medium
# Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0029.go → problems/0029.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Source: https://leetcode.com/problems/divide-two-integers/
// Source: https://leetcode.com/problems/divide-two-integers
// Title: Divide Two Integers
// Difficulty: Medium
// Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0030.go → problems/0030.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Source: https://leetcode.com/problems/substring-with-concatenation-of-all-words/
// Source: https://leetcode.com/problems/substring-with-concatenation-of-all-words
// Title: Substring with Concatenation of All Words
// Difficulty: Hard
// Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0032.py → problems/0032.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Source: https://leetcode.com/problems/longest-valid-parentheses/
# Source: https://leetcode.com/problems/longest-valid-parentheses
# Title: Longest Valid Parentheses
# Difficulty: Hard
# Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0033.cpp → problems/0033.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Source: https://leetcode.com/problems/search-in-rotated-sorted-array/
// Source: https://leetcode.com/problems/search-in-rotated-sorted-array
// Title: Search in Rotated Sorted Array
// Difficulty: Medium
// Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0033.py → problems/0033.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Source: https://leetcode.com/problems/search-in-rotated-sorted-array/
# Source: https://leetcode.com/problems/search-in-rotated-sorted-array
# Title: Search in Rotated Sorted Array
# Difficulty: Medium
# Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0034.cpp → problems/0034.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Source: https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array/
// Source: https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array
// Title: Find First and Last Position of Element in Sorted Array
// Difficulty: Medium
// Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0034.go → problems/0034.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Source: https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array/
// Source: https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array
// Title: Find First and Last Position of Element in Sorted Array
// Difficulty: Medium
// Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0039.go → problems/0039.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Source: https://leetcode.com/problems/combination-sum/
// Source: https://leetcode.com/problems/combination-sum
// Title: Combination Sum
// Difficulty: Medium
// Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0039.py → problems/0039.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Source: https://leetcode.com/problems/combination-sum/
# Source: https://leetcode.com/problems/combination-sum
# Title: Combination Sum
# Difficulty: Medium
# Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0040.go → problems/0040.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Source: https://leetcode.com/problems/combination-sum-ii/
// Source: https://leetcode.com/problems/combination-sum-ii
// Title: Combination Sum II
// Difficulty: Medium
// Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0041.py → problems/0041.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Source: https://leetcode.com/problems/first-missing-positive/
# Source: https://leetcode.com/problems/first-missing-positive
# Title: First Missing Positive
# Difficulty: Hard
# Author: Mu Yang <http://muyang.pro>
Expand Down
32 changes: 16 additions & 16 deletions problems/algorithms/0042.go → problems/0042.go
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
// Source: https://leetcode.com/problems/trapping-rain-water/
// Title: Trapping Rain Water
// Difficulty: Hard
// Author: Mu Yang <http://muyang.pro>
// Source: https://leetcode.com/problems/trapping-rain-water
// Title: Trapping Rain Water
// Difficulty: Hard
// Author: Mu Yang <http://muyang.pro>

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it can trap after raining.
// Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it can trap after raining.
//
// Example 1:
// Example 1:
//
// https://assets.leetcode.com/uploads/2018/10/22/rainwatertrap.png
// Input: height = [0,1,0,2,1,0,1,3,2,1,2,1]
// Output: 6
// Explanation: The above elevation map (black section) is represented by array [0,1,0,2,1,0,1,3,2,1,2,1]. In this case, 6 units of rain water (blue section) are being trapped.
// https://assets.leetcode.com/uploads/2018/10/22/rainwatertrap.png
// Input: height = [0,1,0,2,1,0,1,3,2,1,2,1]
// Output: 6
// Explanation: The above elevation map (black section) is represented by array [0,1,0,2,1,0,1,3,2,1,2,1]. In this case, 6 units of rain water (blue section) are being trapped.
//
// Example 2:
// Example 2:
//
// Input: height = [4,2,0,3,2,5]
// Output: 9
// Input: height = [4,2,0,3,2,5]
// Output: 9
//
// Constraints:
//
// n == height.length
// 1 <= n <= 2 * 10^4
// 0 <= height[i] <= 10^5
// n == height.length
// 1 <= n <= 2 * 10^4
// 0 <= height[i] <= 10^5
//
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0042.py → problems/0042.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Source: https://leetcode.com/problems/trapping-rain-water/
# Source: https://leetcode.com/problems/trapping-rain-water
# Title: Trapping Rain Water
# Difficulty: Hard
# Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0045.go → problems/0045.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Source: https://leetcode.com/problems/jump-game-ii/
// Source: https://leetcode.com/problems/jump-game-ii
// Title: Jump Game II
// Difficulty: Hard
// Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0045.py → problems/0045.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Source: https://leetcode.com/problems/jump-game-ii/
# Source: https://leetcode.com/problems/jump-game-ii
# Title: Jump Game II
# Difficulty: Hard
# Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0046.py → problems/0046.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Source: https://leetcode.com/problems/permutations/
# Source: https://leetcode.com/problems/permutations
# Title: Permutations
# Difficulty: Medium
# Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0048.py → problems/0048.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Source: https://leetcode.com/problems/rotate-image/
# Source: https://leetcode.com/problems/rotate-image
# Title: Rotate Image
# Difficulty: Medium
# Author: Mu Yang <http://muyang.pro>
Expand Down
8 changes: 4 additions & 4 deletions problems/algorithms/0049.go → problems/0049.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Source: https://leetcode.com/problems/group-anagrams/
// Source: https://leetcode.com/problems/group-anagrams
// Title: Group Anagrams
// Difficulty: Medium
// Author: Mu Yang <http://muyang.pro>
Expand All @@ -24,9 +24,9 @@
//
// Constraints:
//
// * 1 <= strs.length <= 10^4
// * 0 <= strs[i].length <= 100
// * strs[i] consists of lowercase English letters.
// 1 <= strs.length <= 10^4
// 0 <= strs[i].length <= 100
// strs[i] consists of lowercase English letters.
//
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0049.py → problems/0049.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Source: https://leetcode.com/problems/group-anagrams/
# Source: https://leetcode.com/problems/group-anagrams
# Title: Group Anagrams
# Difficulty: Medium
# Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0051.go → problems/0051.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Source: https://leetcode.com/problems/n-queens/
// Source: https://leetcode.com/problems/n-queens
// Title: N-Queens
// Difficulty: Hard
// Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0052.go → problems/0052.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Source: https://leetcode.com/problems/n-queens-ii/
// Source: https://leetcode.com/problems/n-queens-ii
// Title: N-Queens II
// Difficulty: Hard
// Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0053.go → problems/0053.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Source: https://leetcode.com/problems/maximum-subarray/
// Source: https://leetcode.com/problems/maximum-subarray
// Title: Maximum Subarray
// Difficulty: Easy
// Author: Mu Yang <http://muyang.pro>
Expand Down
2 changes: 1 addition & 1 deletion problems/algorithms/0053.py → problems/0053.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Source: https://leetcode.com/problems/maximum-subarray/
# Source: https://leetcode.com/problems/maximum-subarray
# Title: Maximum Subarray
# Difficulty: Easy
# Author: Mu Yang <http://muyang.pro>
Expand Down
Loading

0 comments on commit 6462e5c

Please sign in to comment.