File tree
160 files changed
+3861
-3861
lines changed- solutions
- 001.Two_Sum
- 002.Add_Two_Numbers
- 003.Longest_Substring_Without_Repeating_Characters
- 004.Median_of_Two_Sorted_Arrays
- 005.Longest_Palindromic_Substring
- 006.ZigZag_Conversion
- 007.Reverse_Integer
- 008.String_to_Integer
- 009.Palindrome_Number
- 010.Regular_Expression_Matching
- 011.Container_With_Most_Water
- 012.Integer_to_Roman
- 013.Roman_to_Integer
- 014.Longest_Common_Prefix
- 015.3Sum
- 016.3Sum_Closest
- 017.Letter_Combinations_of_a_Phone_Number
- 018.4Sum
- 019.Remove_Nth_Node_From_End_of_List
- 020.Valid_Parentheses
- 021.Merge_Two_Sorted_Lists
- 022.Generate_Parentheses
- 023.Merge_k_Sorted_Lists
- 024.Swap_Nodes_in_Pairs
- 025.Reverse_Nodes_in_k-Group
- 026.Remove_Duplicates_from_Sorted_Array
- 028.Implement_strStr()
- 029.Divide_Two_Integers
- 030.Substring_with_Concatenation_of_All_Words
- 031.Next_Permutation
- 033.Search_in_Rotated_Sorted_Array
- 034.Search_for_a_Range
- 035.Search_Insert_Position
- 036.Valid_Sudoku
- 037.Sudoku_Solver
- 038.Count_and_Say
- 039.Combination_Sum
- 040.Combination_Sum_II
- 041.First_Missing_Positive
- 042.Trapping_Rain_Water
- 043.Multiply_Strings
- 044.Wildcard_Matching
- 045.Jump_Game_II
- 046.Permutations
- 047.Permutations_II
- 048.Rotate_Image
- 049.Anagrams
- 050.Pow(x,_n)
- 051.N-Queens
- 052.N-Queens_II
- 053.Maximum_Subarray
- 054.Spiral_Matrix
- 055.Jump_Game
- 056.Merge_Intervals
- 057.Insert_Interval
- 058.Length_of_Last_Word
- 059.Spiral_Matrix_II
- 060.Permutation_Sequence
- 061.Rotate_List
- 062.Unique_Paths
- 063.Unique_Paths_II
- 064.Minimum_Path_Sum
- 065.Valid_Number
- 066.Plus_One
- 067.Add_Binary
- 068.Text_Justification
- 069.Sqrt(x)
- 070.Climbing_Stairs
- 071.Simplify_Path
- 072.Edit_Distance
- 073.Set_Matrix_Zeroes
- 074.Search_a_2D_Matrix
- 075.Sort_Colors
- 077.Combinations
- 078.Subsets
- 079.Word_Search
- 080.Remove_Duplicates_from_Sorted_Array_II
- 081.Search_in_Rotated_Sorted_Array_II
- 082.Remove_Duplicates_from_Sorted_List_II
- 083.Remove_Duplicates_from_Sorted_List
- 085.Maximal_Rectangle
- 086.Partition_List
- 088.Merge_Sorted_Array
- 089.Gray_Code
- 090.Subsets_II
- 091.Decode_Ways
- 092.Reverse_Linked_List_II
- 093.Restore_IP_Addresses
- 094.Binary_Tree_Inorder_Traversal
- 095.Unique_Binary_Search_Trees
- 098.Validate_Binary_Search_Tree
- 100.Same_Tree
- 101.Symmetric_Tree
- 102.Binary_Tree_Level_Order_Traversal
- 103.Binary_Tree_Zigzag_Level_Order_Traversal
- 104.Maximum_Depth_of_Binary_Tree
- 105.Construct_Binary_Tree_from_Preorder_and_Inorder_Traversal
- 106.Construct_Binary_Tree_from_Inorder_and_Postorder_Traversal
- 107.Binary_Tree_Level_Order_Traversal_II
- 108.Convert_Sorted_Array_to_Binary_Search_Tree
- 109.Convert_Sorted_List_to_Binary_Search_Tree
- 110.Balanced_Binary_Tree
- 111.Minimum_Depth_of_Binary_Tree
- 112.Path_Sum
- 113.Path_Sum_II
- 116.Populating_Next_Right_Pointers_in_Each_Node
- 117.Populating_Next_Right_Pointers_in_Each_Node_II
- 118.Pascals_Triangle
- 119.Pascal's_Triangle_II
- 120.Triangle
- 121.Best_Time_to_Buy_and_Sell_Stock
- 122.Best_Time_to_Buy_and_Sell_Stock_II
- 125.Valid_Palindrome
- 129.Sum_Root_to_Leaf_Numbers
- 133.Clone_Graph
- 136.Single_Number
- 137.Single_Number_II
- 141.Linked_List_Cycle
- 143.Reorder_List
- 144.Binary_Tree_Preorder_Traversal
- 145.Binary_Tree_Postorder_Traversal
- 147.Insertion_Sort_List
- 152.Maximum_Product_Subarray
- 155.Min_Stack
- 160.Intersection_of_Two_Linked_Lists
- 162.Find_Peak_Element
- 165.Compare_Version_Numbers
- 168.Excel_Sheet_Column_Title
- 169.Majority_Element
- 171.Excel_Sheet_Column_Number
- 172.Factorial_Trailing_Zeroes
- 179.Largest_Number
- 187.Repeated_DNA_Sequences
- 188.Best_Time_to_Buy_and_Sell_Stock_IV
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
160 files changed
+3861
-3861
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 |
| - | |
7 |
| - | |
| 6 | + | |
| 7 | + | |
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 |
| - | |
19 |
| - | |
20 |
| - | |
21 |
| - | |
22 |
| - | |
23 |
| - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
24 | 24 |
| |
25 |
| - | |
26 |
| - | |
27 |
| - | |
28 |
| - | |
29 |
| - | |
30 |
| - | |
31 |
| - | |
32 |
| - | |
33 |
| - | |
34 |
| - | |
35 |
| - | |
36 |
| - | |
37 |
| - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
41 |
| - | |
42 |
| - | |
43 |
| - | |
44 |
| - | |
45 |
| - | |
46 |
| - | |
47 |
| - | |
48 |
| - | |
49 |
| - | |
50 |
| - | |
51 |
| - | |
52 |
| - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
53 | 53 |
| |
54 | 54 |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 |
| - | |
| 6 | + | |
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 |
| - | |
16 |
| - | |
17 |
| - | |
18 |
| - | |
19 |
| - | |
20 |
| - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
21 | 21 |
| |
22 |
| - | |
23 |
| - | |
24 |
| - | |
25 |
| - | |
26 |
| - | |
27 |
| - | |
28 |
| - | |
29 |
| - | |
30 |
| - | |
31 |
| - | |
32 |
| - | |
33 |
| - | |
34 |
| - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
38 |
| - | |
39 |
| - | |
40 |
| - | |
41 |
| - | |
42 |
| - | |
43 |
| - | |
44 |
| - | |
45 |
| - | |
46 |
| - | |
47 |
| - | |
48 |
| - | |
49 |
| - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
50 | 50 |
| |
51 | 51 |
| |
52 | 52 |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 |
| - | |
16 |
| - | |
17 |
| - | |
18 |
| - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
19 | 19 |
| |
20 |
| - | |
21 |
| - | |
| 20 | + | |
| 21 | + | |
22 | 22 |
| |
23 |
| - | |
24 |
| - | |
25 |
| - | |
26 |
| - | |
27 |
| - | |
28 |
| - | |
29 |
| - | |
30 |
| - | |
31 |
| - | |
32 |
| - | |
33 |
| - | |
34 |
| - | |
35 |
| - | |
36 |
| - | |
37 |
| - | |
38 |
| - | |
39 |
| - | |
40 |
| - | |
41 |
| - | |
42 |
| - | |
43 |
| - | |
44 |
| - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
45 | 45 |
| |
46 | 46 |
| |
47 | 47 |
| |
48 |
| - | |
49 |
| - | |
50 |
| - | |
51 |
| - | |
52 |
| - | |
53 |
| - | |
54 |
| - | |
55 |
| - | |
56 |
| - | |
57 |
| - | |
58 |
| - | |
59 |
| - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
60 | 60 |
| |
61 | 61 |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 |
| - | |
16 |
| - | |
17 |
| - | |
18 |
| - | |
19 |
| - | |
20 |
| - | |
21 |
| - | |
22 |
| - | |
23 |
| - | |
24 |
| - | |
25 |
| - | |
26 |
| - | |
27 |
| - | |
28 |
| - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
32 |
| - | |
33 |
| - | |
34 |
| - | |
35 |
| - | |
36 |
| - | |
37 |
| - | |
38 |
| - | |
39 |
| - | |
40 |
| - | |
41 |
| - | |
42 |
| - | |
43 |
| - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
44 | 44 |
| |
45 | 45 |
|
0 commit comments