File tree
232 files changed
+0
-920
lines changed- solution
- 0000-0099
- 0020.Valid Parentheses
- 0036.Valid Sudoku
- 0037.Sudoku Solver
- 0043.Multiply Strings
- 0060.Permutation Sequence
- 0072.Edit Distance
- 0100-0199
- 0165.Compare Version Numbers
- 0192.Word Frequency
- 0200-0299
- 0210.Course Schedule II
- 0212.Word Search II
- 0260.Single Number III
- 0263.Ugly Number
- 0264.Ugly Number II
- 0283.Move Zeroes
- 0287.Find the Duplicate Number
- 0289.Game of Life
- 0295.Find Median from Data Stream
- 0300-0399
- 0307.Range Sum Query - Mutable
- 0332.Reconstruct Itinerary
- 0363.Max Sum of Rectangle No Larger Than K
- 0400-0499
- 0416.Partition Equal Subset Sum
- 0417.Pacific Atlantic Water Flow
- 0433.Minimum Genetic Mutation
- 0436.Find Right Interval
- 0443.String Compression
- 0457.Circular Array Loop
- 0458.Poor Pigs
- 0470.Implement Rand10() Using Rand7()
- 0474.Ones and Zeroes
- 0475.Heaters
- 0478.Generate Random Point in a Circle
- 0483.Smallest Good Base
- 0495.Teemo Attacking
- 0497.Random Point in Non-overlapping Rectangles
- 0500-0599
- 0518.Coin Change 2
- 0519.Random Flip Matrix
- 0520.Detect Capital
- 0523.Continuous Subarray Sum
- 0526.Beautiful Arrangement
- 0528.Random Pick with Weight
- 0542.01 Matrix
- 0565.Array Nesting
- 0567.Permutation in String
- 0593.Valid Square
- 0600-0699
- 0609.Find Duplicate File in System
- 0621.Task Scheduler
- 0622.Design Circular Queue
- 0628.Maximum Product of Three Numbers
- 0629.K Inverse Pairs Array
- 0630.Course Schedule III
- 0641.Design Circular Deque
- 0643.Maximum Average Subarray I
- 0647.Palindromic Substrings
- 0648.Replace Words
- 0649.Dota2 Senate
- 0650.2 Keys Keyboard
- 0672.Bulb Switcher II
- 0690.Employee Importance
- 0700-0799
- 0704.Binary Search
- 0705.Design HashSet
- 0706.Design HashMap
- 0710.Random Pick with Blacklist
- 0718.Maximum Length of Repeated Subarray
- 0741.Cherry Pickup
- 0745.Prefix and Suffix Search
- 0747.Largest Number At Least Twice of Others
- 0756.Pyramid Transition Matrix
- 0766.Toeplitz Matrix
- 0770.Basic Calculator IV
- 0777.Swap Adjacent in LR String
- 0778.Swim in Rising Water
- 0779.K-th Symbol in Grammar
- 0781.Rabbits in Forest
- 0800-0899
- 0808.Soup Servings
- 0820.Short Encoding of Words
- 0821.Shortest Distance to a Character
- 0822.Card Flipping Game
- 0823.Binary Trees With Factors
- 0831.Masking Personal Information
- 0833.Find And Replace in String
- 0835.Image Overlap
- 0836.Rectangle Overlap
- 0837.New 21 Game
- 0840.Magic Squares In Grid
- 0842.Split Array into Fibonacci Sequence
- 0844.Backspace String Compare
- 0845.Longest Mountain in Array
- 0846.Hand of Straights
- 0847.Shortest Path Visiting All Nodes
- 0848.Shifting Letters
- 0849.Maximize Distance to Closest Person
- 0851.Loud and Rich
- 0852.Peak Index in a Mountain Array
- 0853.Car Fleet
- 0854.K-Similar Strings
- 0855.Exam Room
- 0856.Score of Parentheses
- 0857.Minimum Cost to Hire K Workers
- 0859.Buddy Strings
- 0861.Score After Flipping Matrix
- 0862.Shortest Subarray with Sum at Least K
- 0864.Shortest Path to Get All Keys
- 0869.Reordered Power of 2
- 0870.Advantage Shuffle
- 0871.Minimum Number of Refueling Stops
- 0874.Walking Robot Simulation
- 0877.Stone Game
- 0878.Nth Magical Number
- 0879.Profitable Schemes
- 0880.Decoded String at Index
- 0884.Uncommon Words from Two Sentences
- 0886.Possible Bipartition
- 0887.Super Egg Drop
- 0893.Groups of Special-Equivalent Strings
- 0896.Monotonic Array
- 0898.Bitwise ORs of Subarrays
- 0899.Orderly Queue
- 0900-0999
- 0900.RLE Iterator
- 0901.Online Stock Span
- 0902.Numbers At Most N Given Digit Set
- 0903.Valid Permutations for DI Sequence
- 0904.Fruit Into Baskets
- 0905.Sort Array By Parity
- 0906.Super Palindromes
- 0907.Sum of Subarray Minimums
- 0908.Smallest Range I
- 0910.Smallest Range II
- 0911.Online Election
- 0913.Cat and Mouse
- 0915.Partition Array into Disjoint Intervals
- 0916.Word Subsets
- 0917.Reverse Only Letters
- 0918.Maximum Sum Circular Subarray
- 0919.Complete Binary Tree Inserter
- 0920.Number of Music Playlists
- 0921.Minimum Add to Make Parentheses Valid
- 0922.Sort Array By Parity II
- 0923.3Sum With Multiplicity
- 0925.Long Pressed Name
- 0926.Flip String to Monotone Increasing
- 0927.Three Equal Parts
- 0928.Minimize Malware Spread II
- 0930.Binary Subarrays With Sum
- 0933.Number of Recent Calls
- 0934.Shortest Bridge
- 0936.Stamping The Sequence
- 0938.Range Sum of BST
- 0939.Minimum Area Rectangle
- 0940.Distinct Subsequences II
- 0942.DI String Match
- 0943.Find the Shortest Superstring
- 0945.Minimum Increment to Make Array Unique
- 0946.Validate Stack Sequences
- 0947.Most Stones Removed with Same Row or Column
- 0948.Bag of Tokens
- 0949.Largest Time for Given Digits
- 0950.Reveal Cards In Increasing Order
- 0954.Array of Doubled Pairs
- 0955.Delete Columns to Make Sorted II
- 0956.Tallest Billboard
- 0957.Prison Cells After N Days
- 0960.Delete Columns to Make Sorted III
- 0961.N-Repeated Element in Size 2N Array
- 0962.Maximum Width Ramp
- 0964.Least Operators to Express Number
- 0967.Numbers With Same Consecutive Differences
- 0969.Pancake Sorting
- 0972.Equal Rational Numbers
- 0973.K Closest Points to Origin
- 0974.Subarray Sums Divisible by K
- 0975.Odd Even Jump
- 0976.Largest Perimeter Triangle
- 0977.Squares of a Sorted Array
- 0978.Longest Turbulent Subarray
- 0980.Unique Paths III
- 0981.Time Based Key-Value Store
- 0982.Triples with Bitwise AND Equal To Zero
- 0983.Minimum Cost For Tickets
- 0984.String Without AAA or BBB
- 0985.Sum of Even Numbers After Queries
- 0989.Add to Array-Form of Integer
- 0990.Satisfiability of Equality Equations
- 0991.Broken Calculator
- 0992.Subarrays with K Different Integers
- 0995.Minimum Number of K Consecutive Bit Flips
- 0996.Number of Squareful Arrays
- 0997.Find the Town Judge
- 1000-1099
- 1001.Grid Illumination
- 1002.Find Common Characters
- 1003.Check If Word Is Valid After Substitutions
- 1004.Max Consecutive Ones III
- 1005.Maximize Sum Of Array After K Negations
- 1006.Clumsy Factorial
- 1010.Pairs of Songs With Total Durations Divisible by 60
- 1011.Capacity To Ship Packages Within D Days
- 1012.Numbers With Repeated Digits
- 1014.Best Sightseeing Pair
- 1016.Binary String With Substrings Representing 1 To N
- 1017.Convert to Base -2
- 1018.Binary Prefix Divisible By 5
- 1019.Next Greater Node In Linked List
- 1020.Number of Enclaves
- 1021.Remove Outermost Parentheses
- 1023.Camelcase Matching
- 1024.Video Stitching
- 1025.Divisor Game
- 1029.Two City Scheduling
- 1030.Matrix Cells in Distance Order
- 1031.Maximum Sum of Two Non-Overlapping Subarrays
- 1033.Moving Stones Until Consecutive
- 1034.Coloring A Border
- 1036.Escape a Large Maze
- 1037.Valid Boomerang
- 1040.Moving Stones Until Consecutive II
- 1043.Partition Array for Maximum Sum
- 1044.Longest Duplicate Substring
- 1046.Last Stone Weight
- 1047.Remove All Adjacent Duplicates In String
- 1048.Longest String Chain
- 1049.Last Stone Weight II
- 1053.Previous Permutation With One Swap
- 1054.Distant Barcodes
- 1072.Flip Columns For Maximum Number of Equal Rows
- 1074.Number of Submatrices That Sum to Target
- 1078.Occurrences After Bigram
- 1079.Letter Tile Possibilities
- 1089.Duplicate Zeros
- 1090.Largest Values From Labels
- 1100-1199/1160.Find Words That Can Be Formed by Characters
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
232 files changed
+0
-920
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
39 |
| - | |
40 | 39 |
| |
41 | 40 |
| |
42 | 41 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 |
| - | |
13 | 12 |
| |
14 |
| - | |
15 | 13 |
| |
16 |
| - | |
17 | 14 |
| |
18 | 15 |
| |
19 | 16 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
11 | 10 |
| |
12 |
| - | |
13 | 11 |
| |
14 |
| - | |
15 | 12 |
| |
16 |
| - | |
17 | 13 |
| |
18 | 14 |
| |
19 | 15 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 |
| - | |
13 | 12 |
| |
14 |
| - | |
15 | 13 |
| |
16 |
| - | |
17 | 14 |
| |
18 |
| - | |
19 | 15 |
| |
20 | 16 |
| |
21 | 17 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
30 |
| - | |
31 | 30 |
| |
32 |
| - | |
33 | 31 |
| |
34 |
| - | |
35 | 32 |
| |
36 |
| - | |
37 | 33 |
| |
38 |
| - | |
39 | 34 |
| |
40 | 35 |
| |
41 | 36 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 |
| - | |
13 | 12 |
| |
14 |
| - | |
15 | 13 |
| |
16 |
| - | |
17 | 14 |
| |
18 |
| - | |
19 | 15 |
| |
20 |
| - | |
21 | 16 |
| |
22 |
| - | |
23 | 17 |
| |
24 |
| - | |
25 | 18 |
| |
26 | 19 |
| |
27 | 20 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 |
| - | |
13 | 12 |
| |
14 |
| - | |
15 | 13 |
| |
16 |
| - | |
17 | 14 |
| |
18 |
| - | |
19 | 15 |
| |
20 | 16 |
| |
21 | 17 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
69 | 69 |
| |
70 | 70 |
| |
71 | 71 |
| |
72 |
| - | |
73 | 72 |
| |
74 | 73 |
| |
75 | 74 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
45 | 45 |
| |
46 | 46 |
| |
47 | 47 |
| |
48 |
| - | |
49 | 48 |
| |
50 | 49 |
| |
51 | 50 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
44 |
| - | |
45 | 44 |
| |
46 |
| - | |
47 | 45 |
| |
48 |
| - | |
49 | 46 |
| |
50 | 47 |
| |
51 | 48 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
44 |
| - | |
45 | 44 |
| |
46 |
| - | |
47 | 45 |
| |
48 |
| - | |
49 | 46 |
| |
50 | 47 |
| |
51 | 48 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
20 |
| - | |
21 | 20 |
| |
22 |
| - | |
23 | 21 |
| |
24 |
| - | |
25 | 22 |
| |
26 | 23 |
| |
27 | 24 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
45 | 45 |
| |
46 | 46 |
| |
47 | 47 |
| |
48 |
| - | |
49 | 48 |
| |
50 |
| - | |
51 | 49 |
| |
52 |
| - | |
53 | 50 |
| |
54 | 51 |
| |
55 | 52 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
24 |
| - | |
25 | 24 |
| |
26 |
| - | |
27 | 25 |
| |
28 |
| - | |
29 | 26 |
| |
30 | 27 |
| |
31 | 28 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
20 |
| - | |
21 | 20 |
| |
22 |
| - | |
23 | 21 |
| |
24 |
| - | |
25 | 22 |
| |
26 | 23 |
| |
27 | 24 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
30 |
| - | |
31 | 30 |
| |
32 |
| - | |
33 | 31 |
| |
34 |
| - | |
35 | 32 |
| |
36 |
| - | |
37 | 33 |
| |
38 |
| - | |
39 | 34 |
| |
40 | 35 |
| |
41 | 36 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 |
| - | |
13 | 12 |
| |
14 |
| - | |
15 | 13 |
| |
16 |
| - | |
17 | 14 |
| |
18 |
| - | |
19 | 15 |
| |
20 |
| - | |
21 | 16 |
| |
22 | 17 |
| |
23 | 18 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
42 | 42 |
| |
43 | 43 |
| |
44 | 44 |
| |
45 |
| - | |
46 | 45 |
| |
47 |
| - | |
48 | 46 |
| |
49 |
| - | |
50 | 47 |
| |
51 | 48 |
| |
52 | 49 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
30 |
| - | |
31 | 30 |
| |
32 |
| - | |
33 | 31 |
| |
34 |
| - | |
35 | 32 |
| |
36 | 33 |
| |
37 | 34 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 |
| - | |
13 | 12 |
| |
14 |
| - | |
15 | 13 |
| |
16 |
| - | |
17 | 14 |
| |
18 |
| - | |
19 | 15 |
| |
20 | 16 |
| |
21 | 17 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
24 |
| - | |
25 | 24 |
| |
26 |
| - | |
27 | 25 |
| |
28 |
| - | |
29 | 26 |
| |
30 | 27 |
| |
31 | 28 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 |
| - | |
13 | 12 |
| |
14 |
| - | |
15 | 13 |
| |
16 |
| - | |
17 | 14 |
| |
18 | 15 |
| |
19 | 16 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 |
| - | |
17 | 16 |
| |
18 |
| - | |
19 | 17 |
| |
20 |
| - | |
21 | 18 |
| |
22 | 19 |
| |
23 | 20 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
20 |
| - | |
21 | 20 |
| |
22 |
| - | |
23 | 21 |
| |
24 |
| - | |
25 | 22 |
| |
26 |
| - | |
27 | 23 |
| |
28 | 24 |
| |
29 | 25 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 |
| - | |
15 | 14 |
| |
16 |
| - | |
17 | 15 |
| |
18 |
| - | |
19 | 16 |
| |
20 | 17 |
| |
21 | 18 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
97 | 97 |
| |
98 | 98 |
| |
99 | 99 |
| |
100 |
| - | |
101 | 100 |
| |
102 |
| - | |
103 | 101 |
| |
104 |
| - | |
105 | 102 |
| |
106 | 103 |
| |
107 | 104 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
49 | 49 |
| |
50 | 50 |
| |
51 | 51 |
| |
52 |
| - | |
53 | 52 |
| |
54 |
| - | |
55 | 53 |
| |
56 |
| - | |
57 | 54 |
| |
58 |
| - | |
59 | 55 |
| |
60 | 56 |
| |
61 | 57 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
22 |
| - | |
23 | 22 |
| |
24 |
| - | |
25 | 23 |
| |
26 |
| - | |
27 | 24 |
| |
28 |
| - | |
29 | 25 |
| |
30 | 26 |
| |
31 | 27 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
55 | 55 |
| |
56 | 56 |
| |
57 | 57 |
| |
58 |
| - | |
59 | 58 |
| |
60 |
| - | |
61 | 59 |
| |
62 |
| - | |
63 | 60 |
| |
64 | 61 |
| |
65 | 62 |
| |
66 | 63 |
| |
67 | 64 |
| |
68 | 65 |
| |
69 | 66 |
| |
70 |
| - | |
71 | 67 |
| |
72 |
| - | |
73 | 68 |
| |
74 |
| - | |
75 | 69 |
| |
76 | 70 |
| |
77 | 71 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 |
| - | |
17 | 16 |
| |
18 |
| - | |
19 | 17 |
| |
20 |
| - | |
21 | 18 |
| |
22 | 19 |
| |
23 | 20 |
| |
|
0 commit comments