File tree
Expand file treeCollapse file tree
186 files changed
+908
-354
lines changedFilter options
- .idea
- [0000][common]
- [0001][Two Sum]
- [0002][Add Two Numbers]
- [0003][Longest Substring Without Repeating Characters]
- [0004][Median of Two Sorted Arrays]
- [0005][Longest Palindromic Substring Total]
- [0006][Zig Zag Conversion]
- [0007][Reverse Integer]
- [0008][String To Integer (atoi)]
- [0009][Palindrome Number]
- [0010][Regular Expression Matching]
- [0011][Container With Most Water]
- src
- [0012][Integer To Roman]
- [0013][Romar To Integer]
- [0014][Longest Common Prefix]
- [0015][3 Sum]
- [0016][3 Sum Closest]
- [0017][Letter Combinations Of A Phon Number
- [0018][4 Sum]
- [0019][Remove Nth Node From End Of List]
- [0020][Valid Parentheses]
- [0021][Merge Two Sorted Lists]
- [0022][Generate Parentheses]
- [0023][Merge K Sorted Lists]
- [0024][Swap Nodes In Pairs]
- [0025][Reverse Nodes In K-Group]
- [0026][Remove Duplicates from Sorted Array]
- [0027][Remove Element]
- [0028][Implement-strStr()]
- [0029][Divide Two Integers]
- [0030][Substring With Concatenation Of All Words]
- [0031][Next Permutation]
- [0032][Longest Valid Parentheses]
- [0033][Search In Rotated Sorted Array]
- [0034][Search For A Range]
- [0035][Search Insert Position]
- [0036][Valid Sudoku]
- [0037][Sudoku Solver]
- [0038][Count And Say]
- [0039][Combination Sum]
- [0040][Combination Sum II]
- [0041][First Missing Positive]
- [0042][Trapping Rain Water]
- [0043][Multiply Strings]
- [0044][Wildcard Matching]
- [0045][Jump Game II]
- [0046][Permutations]
- [0047][Permutations II]
- [0048][Rotate Image]
- [0049][Group Anagrams]
- [0050][Pow(x,n)]
- [0051][N-Queens]
- [0052][N-Queens II]
- [0053][Maximum Subarray]
- src
- [0054][Spiral Matrix]
- [0055][Jump Game]
- [0056][Merge Intervals]
- [0057][Insert Interval]
- [0058][Length Of Last Word]
- [0059][Spiral Matrix II]
- [0060][Permutation Sequence]
- [0061][Rotate List]
- [0062][Unique Paths]
- [0063][Unique Paths II]
- [0064][Minimum Path Sum]
- [0065][Valid Number]
- [0066][Plus One]
- [0067][Add Binary]
- [0069][Sqrt(x)]
- [0070][Climbing Stairs]
- [0071][Simplify Path]
- [0073][Set Matrix Zeroes]
- [0074][Search A 2D Matrix]
- [0075][Sort Colors]
- [0077][Combinations]
- [0078][Subsets]
- [0079][Word Search]
- [0080][Remove Duplicates from Sorted Array II]
- [0081][Search In Rotated Sorted Array II]
- [0082][Remove Duplicates From Sorted List II]
- [0083][Remove Duplicates From Sorted List]
- [0084][Largest Rectangle in Histogram]
- [0086][Partition List]
- [0088][Merge Sorted Array]
- [0089][Gray Code]
- [0090][Subsets II]
- [0092][Reverse Linked List II]
- [0093][Restore IP Addresses]
- [0094][Binary Tree Inorder Traversal]
- [0096][Unique Binary Search Trees]
- [0098][Validate Binary Search Tree]
- [0100][Same Tree]
- [0101][Symmetric Tree]
- [0102][Binary Tree Level Order Traversal]
- [0103][Binary Tree Zigzag LevelOrder Traversal]
- [0104][Maximum Depth Of Binary Tree]
- [0105][Construct Binary Tree From Preorder And Inorder Traversal]
- [0106][Construct Binary Tree From Inorder And Postorder Traversal]
- [0107][Binary Tree Level Order Traversa lII]
- [0108][Convert Sorted Array To Binary Search Tree]
- [0109][Convert Sorted List To Binary Search Tree]
- [0110][Balanced Binary Tree]
- [0111][Minimum Depth Of Binary Tree]
- [0112][Path Sum]
- [0113][Path Sum II]
- [0114][Flatten Binary Tree To Linked List]
- [0116][Populating Next Right Pointersin Each Node]
- [0117][Populating Next Right Pointers In Each Node II]
- [0118][Pascal's Triangle]
- [0119][Pascal's Triangle II]
- [0120][Triangle]
- [0121][Best Time To Buy And Sell Stock]
- [0122][Best Time to Buy and Sell Stock II]
- [0124][Binary Tree Maximum Path Sum]
- [0125][Valid Palindrome]
- [0126][Word Ladder II]
- [0127][Word Ladder]
- [0128][Longest Consecutive Sequence]
- [0129][Sum Root To Leaf Numbers]
- [0130][Surrounded Regions]
- [0131][Palindrome Partitioning]
- [0132][Palindrome Partitioning II]
- src
- [0134][Gas Station]
- [0135][Candy]
- [0136][Single Number]
- [0137][Single Number II]
- [0138][Copy List With Random Pointer]
- [0139][Word Break]
- [0141][Linked List Cycle]
- [0142][Linked List Cycle II]
- [0143][Reorder List]
- [0144][Binary Tree Preorder Traversal]
- [0145][Binary Tree Postorder Traversal]
- [0146][LRU Cache]
- [0147][Insertion Sort List]
- [0148][Sort List]
- [0150][Evaluate Reverse Polish Notation]
- [0151][Reverse Words In A String]
- [0152][Maximum Product Subarray]
- [0153][Find Minimum In Rotated Sorted Array]
- [0154][Find Minimum In Rotated Sorted Array II]
- [0155][Min Stack]
- [0162][Find Peak Element]
- [0167][Two Sum II - Input array is sorted]
- [0191][Number Of 1 Bits]
- [0198][House Robber]
- [0199][Binary Tree Right Side View]
- [0200][Number Of Islands]
- [0201][Bitwise AND Of Numbers Range]
- [0202][Happy Number ]
- [0203][Remove Linked List Elements]
- [0204][Count Primes]
- [0205][Isomorphic Strings]
- [0206][Reverse Linked List]
- [0215][Kth Largest Element In An Array]
- [0216][Combination Sum III]
- [0217][Contains Duplicate ]
- [0219][Contains Duplicate II]
- [0223][Rectangle Area]
- [0225][Implement Stack Using Queues]
- [0226][Invert Binary Tree]
- [0231][Power of Two]
- [0232][Implement Queue using Stacks]
- [0234][Palindrome Linked List]
- [0235][Lowest Common Ancestor of a Binary Search Tree]
- [0237][Delete Node in a Linked List]
- [0242][Valid Anagram]
- [0257][Binary Tree Paths]
- [0258][Add Digits]
- [0263][Ugly Number]
- [0268][Missing Number]
- [0278][First Bad Version]
- [0283][Move Zeroes]
- [0290][Word Pattern]
- [0303][Range Sum Query - Immutable]
- [0326][Power of Three]
- [0342][Power of Four]
- [0344][Reverse String]
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Expand file treeCollapse file tree
186 files changed
+908
-354
lines changed+3Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
+1Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
+326-345Lines changed: 326 additions & 345 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
[0000][common]/[0000][common].iml
Copy file name to clipboardExpand all lines: [0000][common]/[0000][common].iml+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
| 10 | + |
| 11 | + |
10 | 12 |
|
11 | 13 |
|
[0001][Two Sum]/[0001][Two Sum].iml
Copy file name to clipboardExpand all lines: [0001][Two Sum]/[0001][Two Sum].iml+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
| 10 | + |
| 11 | + |
10 | 12 |
|
11 | 13 |
|
[0002][Add Two Numbers]/[0002][Add Two Numbers].iml
Copy file name to clipboardExpand all lines: [0002][Add Two Numbers]/[0002][Add Two Numbers].iml+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
| 10 | + |
| 11 | + |
10 | 12 |
|
11 | 13 |
|
[0003][Longest Substring Without Repeating Characters]/[0003][Longest Substring Without Repeating Characters].iml
Copy file name to clipboardExpand all lines: [0003][Longest Substring Without Repeating Characters]/[0003][Longest Substring Without Repeating Characters].iml+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
| 10 | + |
| 11 | + |
10 | 12 |
|
11 | 13 |
|
[0004][Median of Two Sorted Arrays]/[0004][Median of Two Sorted Arrays].iml
Copy file name to clipboardExpand all lines: [0004][Median of Two Sorted Arrays]/[0004][Median of Two Sorted Arrays].iml+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
| 10 | + |
| 11 | + |
10 | 12 |
|
11 | 13 |
|
[0005][Longest Palindromic Substring Total]/[0005][Longest Palindromic Substring Total].iml
Copy file name to clipboardExpand all lines: [0005][Longest Palindromic Substring Total]/[0005][Longest Palindromic Substring Total].iml+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
| 10 | + |
| 11 | + |
10 | 12 |
|
11 | 13 |
|
[0006][Zig Zag Conversion]/[0006][Zig Zag Conversion].iml
Copy file name to clipboardExpand all lines: [0006][Zig Zag Conversion]/[0006][Zig Zag Conversion].iml+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
| 10 | + |
| 11 | + |
10 | 12 |
|
11 | 13 |
|
[0007][Reverse Integer]/[0007][Reverse Integer].iml
Copy file name to clipboardExpand all lines: [0007][Reverse Integer]/[0007][Reverse Integer].iml+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
| 10 | + |
| 11 | + |
10 | 12 |
|
11 | 13 |
|
[0008][String To Integer (atoi)]/[0008][String To Integer (atoi)].iml
Copy file name to clipboardExpand all lines: [0008][String To Integer (atoi)]/[0008][String To Integer (atoi)].iml+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
| 10 | + |
| 11 | + |
10 | 12 |
|
11 | 13 |
|
[0009][Palindrome Number]/[0009][Palindrome Number].iml
Copy file name to clipboardExpand all lines: [0009][Palindrome Number]/[0009][Palindrome Number].iml+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
| 10 | + |
| 11 | + |
10 | 12 |
|
11 | 13 |
|
[0010][Regular Expression Matching]/[0010][Regular Expression Matching].iml
Copy file name to clipboardExpand all lines: [0010][Regular Expression Matching]/[0010][Regular Expression Matching].iml+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
| 10 | + |
| 11 | + |
10 | 12 |
|
11 | 13 |
|
[0011][Container With Most Water]/[0011][Container With Most Water].iml
Copy file name to clipboardExpand all lines: [0011][Container With Most Water]/[0011][Container With Most Water].iml+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
| 10 | + |
| 11 | + |
10 | 12 |
|
11 | 13 |
|
[0011][Container With Most Water]/src/Solution2.java
Copy file name to clipboard+74Lines changed: 74 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | + |
| 74 | + |
[0012][Integer To Roman]/[0012][Integer To Roman].iml
Copy file name to clipboardExpand all lines: [0012][Integer To Roman]/[0012][Integer To Roman].iml+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
| 10 | + |
| 11 | + |
10 | 12 |
|
11 | 13 |
|
[0013][Romar To Integer]/[0013][Romar To Integer].iml
Copy file name to clipboardExpand all lines: [0013][Romar To Integer]/[0013][Romar To Integer].iml+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
| 10 | + |
| 11 | + |
10 | 12 |
|
11 | 13 |
|
[0014][Longest Common Prefix]/[0014][Longest Common Prefix].iml
Copy file name to clipboardExpand all lines: [0014][Longest Common Prefix]/[0014][Longest Common Prefix].iml+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
| 10 | + |
| 11 | + |
10 | 12 |
|
11 | 13 |
|
[0015][3 Sum]/[0015][3 Sum].iml
Copy file name to clipboardExpand all lines: [0015][3 Sum]/[0015][3 Sum].iml+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
| 10 | + |
| 11 | + |
10 | 12 |
|
11 | 13 |
|
[0016][3 Sum Closest]/[0016][3 Sum Closest].iml
Copy file name to clipboardExpand all lines: [0016][3 Sum Closest]/[0016][3 Sum Closest].iml+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
| 10 | + |
| 11 | + |
10 | 12 |
|
11 | 13 |
|
[0017][Letter Combinations Of A Phon Number/[0017][Letter Combinations Of A Phon Number.iml
Copy file name to clipboardExpand all lines: [0017][Letter Combinations Of A Phon Number/[0017][Letter Combinations Of A Phon Number.iml+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
| 10 | + |
| 11 | + |
10 | 12 |
|
11 | 13 |
|
[0018][4 Sum]/[0018][4 Sum].iml
Copy file name to clipboardExpand all lines: [0018][4 Sum]/[0018][4 Sum].iml+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
| 10 | + |
| 11 | + |
10 | 12 |
|
11 | 13 |
|
[0019][Remove Nth Node From End Of List]/[0019][Remove Nth Node From End Of List].iml
Copy file name to clipboardExpand all lines: [0019][Remove Nth Node From End Of List]/[0019][Remove Nth Node From End Of List].iml+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
| 10 | + |
| 11 | + |
10 | 12 |
|
11 | 13 |
|
[0020][Valid Parentheses]/[0020][Valid Parentheses].iml
Copy file name to clipboardExpand all lines: [0020][Valid Parentheses]/[0020][Valid Parentheses].iml+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
| 10 | + |
| 11 | + |
10 | 12 |
|
11 | 13 |
|
[0021][Merge Two Sorted Lists]/[0021][Merge Two Sorted Lists].iml
Copy file name to clipboardExpand all lines: [0021][Merge Two Sorted Lists]/[0021][Merge Two Sorted Lists].iml+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
| 10 | + |
| 11 | + |
10 | 12 |
|
11 | 13 |
|
[0022][Generate Parentheses]/[0022][Generate Parentheses].iml
Copy file name to clipboardExpand all lines: [0022][Generate Parentheses]/[0022][Generate Parentheses].iml+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
| 10 | + |
| 11 | + |
10 | 12 |
|
11 | 13 |
|
[0023][Merge K Sorted Lists]/[0023][Merge K Sorted Lists].iml
Copy file name to clipboardExpand all lines: [0023][Merge K Sorted Lists]/[0023][Merge K Sorted Lists].iml+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
| 10 | + |
| 11 | + |
10 | 12 |
|
11 | 13 |
|
[0024][Swap Nodes In Pairs]/[0024][Swap Nodes In Pairs].iml
Copy file name to clipboardExpand all lines: [0024][Swap Nodes In Pairs]/[0024][Swap Nodes In Pairs].iml+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
| 10 | + |
| 11 | + |
10 | 12 |
|
11 | 13 |
|
[0025][Reverse Nodes In K-Group]/[0025][Reverse Nodes In K-Group].iml
Copy file name to clipboardExpand all lines: [0025][Reverse Nodes In K-Group]/[0025][Reverse Nodes In K-Group].iml+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
| 10 | + |
| 11 | + |
10 | 12 |
|
11 | 13 |
|
[0026][Remove Duplicates from Sorted Array]/[0026][Remove Duplicates from Sorted Array].iml
Copy file name to clipboardExpand all lines: [0026][Remove Duplicates from Sorted Array]/[0026][Remove Duplicates from Sorted Array].iml+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
| 10 | + |
| 11 | + |
10 | 12 |
|
11 | 13 |
|
[0027][Remove Element]/[0027][Remove Element].iml
Copy file name to clipboardExpand all lines: [0027][Remove Element]/[0027][Remove Element].iml+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
| 10 | + |
| 11 | + |
10 | 12 |
|
11 | 13 |
|
[0028][Implement-strStr()]/[0028][Implement-strStr()].iml
Copy file name to clipboardExpand all lines: [0028][Implement-strStr()]/[0028][Implement-strStr()].iml+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
| 10 | + |
| 11 | + |
10 | 12 |
|
11 | 13 |
|
[0029][Divide Two Integers]/[0029][Divide Two Integers].iml
Copy file name to clipboardExpand all lines: [0029][Divide Two Integers]/[0029][Divide Two Integers].iml+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
| 10 | + |
| 11 | + |
10 | 12 |
|
11 | 13 |
|
[0030][Substring With Concatenation Of All Words]/[0030][Substring With Concatenation Of All Words].iml
Copy file name to clipboardExpand all lines: [0030][Substring With Concatenation Of All Words]/[0030][Substring With Concatenation Of All Words].iml+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
| 10 | + |
| 11 | + |
10 | 12 |
|
11 | 13 |
|
[0031][Next Permutation]/[0031][Next Permutation].iml
Copy file name to clipboardExpand all lines: [0031][Next Permutation]/[0031][Next Permutation].iml+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
| 10 | + |
| 11 | + |
10 | 12 |
|
11 | 13 |
|
0 commit comments