LeetCode_Python_Accepted

(โ˜… 50)

No description available.

  • 100_Same_Tree.py
  • 101_Symmetric_Tree.py
  • 102_Binary_Tree_Level_Order_Traversal.py
  • 103_Binary_Tree_Zigzag_Level_Order_Traversal.py
  • 104_Maximum_Depth_of_Binary_Tree.py
  • 105_Construct_Binary_Tree_from_Preorder_and_Inorder_Traversal.py
  • 106_Construct_Binary_Tree_from_Inorder_and_Postorder_Traversal.py
  • 107_Binary_Tree_Level_Order_Traversal_II.py
  • 108_Convert_Sorted_Array_to_Binary_Search_Tree.py
  • 109_Convert_Sorted_List_to_Binary_Search_Tree.py
  • 10_Regular_Expression_Matching.py
  • 110_Balanced_Binary_Tree.py
  • 111_Minimum_Depth_of_Binary_Tree.py
  • 112_Path_Sum.py
  • 113_Path_Sum_II.py
  • 114_Flatten_Binary_Tree_to_Linked_List.py
  • 115_Distinct_Subsequences.py
  • 116_Populating_Next_Right_Pointers_in_Each_Node.py
  • 117_Populating_Next_Right_Pointers_in_Each_Node_II.py
  • 118_Pascal_Triangle.py
  • 119_Pascal_Triangle_II.py
  • 11_Container_With_Most_Water.py
  • 120_Triangle.py
  • 121_Best_Time_to_Buy_and_Sell_Stock.py
  • 122_Best_Time_to_buy_and_Sell_Stock_II.py
  • 123_Best_Time_to_Buy_and_Sell_Stock_III.py
  • 124_Binary_Tree_Maximum_Path_Sum.py
  • 125_Valid_Palindrome.py
  • 126_Word_Ladder_II.py
  • 127_Word_Ladder.py
  • 128_Longest_Consecutive_Sequence.py
  • 129_Sum_Root_Leaf_Numbers.py
  • 12_Integer_to_Roman.py
  • 130_Surrounded_Regions.py
  • 131_Palindrome_Partitioning.py
  • 132_Palindrome_Partitioning.py
  • 133_Clone_Graph.py
  • 134_Gas_Station.py
  • 135_Candy.py
  • 136_Single_Number.py
  • 137_Single_Number_II.py
  • 138_Copy_List_with_Random_Pointer.py
  • 139_Word_Break.py
  • 13_Roman_to_Integer.py
  • 140_Word_Break_II.py
  • 141_Linked_List_Cycle.py
  • 142_Linked_List_Cycle_II.py
  • 143_Reorder_List.py
  • 144_Binary_Tree_Preorder_Traversal.py
  • 145_Binary_Tree_Postorder_Traversal.py
  • 146_LRU_Cache.py
  • 147_Insertion_Sort_List.py
  • 148_Sort_List.py
  • 149_Max_Points_on_a_Line.py
  • 14_Longest_Common_Prefix.py
  • 150_Evaluate_Reverse_Polish_Notation.py
  • 151_Reverse_Words_in_a_String.py
  • 152_Maximum_Product_Subarray.py
  • 153_Find_Minimum_in_Rotated_Sorted_Array.py
  • 154_Find_Minimum_in_Rotated_Sorted_Array_II.py
  • 155_Min_Stack.py
  • 156_Binary_Tree_Upside_Down.py
  • 157_Read_N_Characters_Given_Read4.py
  • 158_Read_N_Characters_Given_Read4_II-Call_Mulpitle_Times.py
  • 159_Longest_Substring_with_At_Most_Two_Distinct_Characters.py
  • 15_3Sum.py
  • 160_Intersection_of_Two_Linked_Lists.py
  • 161_One_Edit_Distance.py
  • 162_Find_Peak_Element.py
  • 163_Missing_Ranges.py
  • 164_Maximum_Gap.py
  • 165_Compare_Version_Numbers.py
  • 166_Fraction_to_Recurring_Decimal.py
  • 167_Two_Sum_II-Input_array_is_sorted.py
  • 168_Excel_Sheet_Column_Title.py
  • 169_Majority_Element.py
  • 16_3Sum_Closest.py
  • 170_Two_Sum_III-Data_structure_design.py
  • 171_Excel_Sheet_Column_Number.py
  • 172_Factorial_Trailing_Zeroes.py
  • 173_Binary_Search_Tree_Iterator.py
  • 174_Dungeon_Game.py
  • 179_Largest_Number.py
  • 17_Letter_Combinations_of_a_Phone_Number.py
  • 186_Reverse_Words_in_a_String_II.py
  • 187_Repeated_DNA_Sequences.py
  • 188_Best_Time_to_Buy_and_Sell_Stock_IV.py
  • 189_Rotate_Array.py
  • 18_4Sum.py
  • 190_Reverse_Bits.py
  • 191_Number_of_1_Bits.py
  • 198_House_Robber.py
  • 199_Binary_Tree_Right_Side_View.py
  • 19_Remove_Nth_Node_From_End_of_List.py
  • 1_Two_Sum.py
  • 200_Number_of_Islands.py
  • 201_Bitwise_AND_of_Numbers_Range.py
  • 202_Happy_Number.py
  • 203_Remove_Linked_List_Elements.py
  • 204_Count_Primes.py
  • 205_Isomorphic_Strings.py
  • 206_Reverse_Linked_List.py
  • 207_Course_Schedule.py
  • 208_Implement_Trie.py
  • 209_Minimum_Size_Subarray_Sum.py
  • 20_Valid_Parentheses.py
  • 210_Course_Schedule_II.py
  • 211_Add_and_Search_Word.py
  • 212_Word_Search_II.py
  • 213_House_Robber_II.py
  • 214_Shortest_Palindrome.py
  • 215_Kth_Largest_Element_in_an_Array.py
  • 216_Combination_Sum_III.py
  • 217_Contains_Duplicate.py
  • 218_The_Skyline_Problem.py
  • 219_Contains_Duplicate_II.py
  • 21_Merge_Two_Sorted_Lists.py
  • 220_Contains_Duplicate_III.py
  • 221_Maximal_Square.py
  • 222_Count_Complete_Tree_Nodes.c
  • 222_Count_Complete_Tree_Nodes.py
  • 223_Rectangle_Area.py
  • 224_Basic_Calculator.py
  • 225_Implement_Stack_using_Queues.py
  • 226_Invert_Binary_Tree.py
  • 227_Basic_Calculator_II.py
  • 228_Summary_Ranges.py
  • 229_Majority_Element_II.py
  • 22_Generate_Parentheses.py
  • 230_Kth_Smallest_Element_in_a_BST.py
  • 231_Power_of_Two.py
  • 232_Implement_Queue_using_Stacks.py
  • 233_Number_of_Digit_One.py
  • 234_Palindrome_Linked_List.py
  • 235_Lowest_Common_Ancestor_of_a_Binary_Search_Tree.py
  • 236_Lowest_Common_Ancestor_of_a_Binary_Tree.py
  • 237_Delete_Node_in_a_Linked_List.py
  • 238_Product_of_Array_Except_Self.py
  • 239_Sliding_Window_Maximum.py
  • 23_Merge_k_Sorted_Lists.py
  • 240_Search_a_2D_Matrix_II.py
  • 241_Different_Ways_to_Add_Parentheses.py
  • 242_Valid_Anagram.py
  • 243_Shortest_Word_Distance.py
  • 244_Shortest_Word_Distance_II.py
  • 245_Shortest_Word_Distance_III.py
  • 246_Strobogrammatic_Number.py
  • 247_Strobogrammatic_Number_II.py
  • 248_Strobogrammatic_Number_III.py
  • 249_Group_Shifted_Strings.py
  • 24_Swap_Nodes_in_Pairs.py
  • 250_Count_Univalue_Subtrees.py
  • 251_Flatten_2D_Vector.py
  • 252_Meeting_Rooms.py
  • 253_Meeting_Room_II.py
  • 254_Factor_Combinations.py
  • 255_Verify_Preorder_Sequence_in_Binary_Search_Tree.py
  • 256_Paint_House.py
  • 257_Binary_Tree_Paths.py
  • 258_Add_Digits.py
  • 25_Reverse_Nodes_in_k-Group.py
  • 260_Single_Number_III.py
  • 261_Graph_Valid_Tree.py
  • 263_Ugly_Number.py
  • 264_Ugly_Number_II.py
  • 265_Paint_House_II.py
  • 266_Palindrome_Permutation.py
  • 267_Palindrome_Permutation_II.py
  • 268_Missing_Number.py
  • 269_Alien_Dictionary.py
  • 26_Remove_Duplicates_from_Sorted_Array.py
  • 270_Closest_Binary_Search_Tree_Value.py
  • 271_Encode_and_Decode_Strings.py
  • 272_Closest_Binary_Search_Tree_Value_II.py
  • 274_H-Index.py
  • 275_H-Index_II.py
  • 276_Paint_Fence.py
  • 277_Find_the_Celebrity.py
  • 278_First_Bad_Version.py
  • 279_Perfect_Squares.py
  • 27_Remove_Element.py
  • 281_Zigzag_Iterator.py
  • 282_Expression_Add_Operators.py
  • 283_Move_Zeroes.py
  • 284_Peeking_Iterator.py
  • 285_Inorder_Successor_in_BST.py
  • 286_Walls_and_Gates.py
  • 288_Unique_Word_Abbreviation.py
  • 289_Game_of_Life.py
  • 28_Implement_strStr.py
  • 290_Word_Pattern.py
  • 292_Nim_Game.py
  • 293_Flip_Game.py
  • 294_Flip_Game_II.py
  • 295_Find_Median_From_Data_Stream.py
  • 296_Best_Meeting_Point.py
  • 297_Serialize_and_Deserialize_Binary_Tree.py
  • 298_Binary_Tree_Longest_Consecutive_Sequence.py
  • 299_Bulls_and_Cows.py
  • 29_Divide_Two_Integers.py
  • 2_Add_Two_Numbers.py
  • 301_Remove_Invalid_Parentheses.py
  • 302_Smallest_Rectangle_Enclosing_Black_Pixels.py
  • 303_Range_Sum_Query_Immutable.py
  • 304_Range_Sum_Query_2D_Immutable.py
  • 305_Number_of_Islands_II.py
  • 306_Additive_Number.py
  • 307_Range_Sum_Query-Mutable.py
  • 308_Range_Sum_Query_2D-Mutable.py
  • 309_Best_Time_to_Buy_and_Sell_Stock_with_Cooldown.py
  • 30_Substring_with_Concatenation_of_All_Words.py
  • 310_Minimum_Height_Trees.py
  • 312_Burst_Balloons.py
  • 313_Super_Ugly_Number.py
  • 314_Binary_Tree_Vertical_Order_Traversal.py
  • 315_Count_of_Smaller_Numbers_After_Self.py
  • 316_Remove_Duplicate_Letters.py
  • 318_Maximum_Product_of_Word_Lengths.py
  • 319_Bulb_Switcher.py
  • 31_Next_Permutation.py
  • 320_Generalized_Abbreviation.py
  • 321_Create_Maximum_Number.py
  • 322_Coin_Change.py
  • 323_Number_of_Connected_Components_in_an_Undirected_Graph.py
  • 324_Wiggle_Sort_II.py
  • 325_Maximum_Size_Subarray_Sum_Equals_k.py
  • 326_Power_of_Three.py
  • 327_Count_of_Range_Sum.py
  • 328_Odd_Even_Linked_List.py
  • 32_Longest_Valid_parentheses.py
  • 330_Patching_Array.py
  • 331_Verify_Preorder_Serialization_of_a_Binary_Tree.py
  • 332_Reconstruct_Itinerary.py
  • 333_Largest_BST_Subtree.py
  • 334_Increasing_Triplet_Subsequence.py
  • 335_Self_Crossing.py
  • 336_Palindrome_Pairs.py
  • 337_House_Robber_III.py
  • 338_Counting_Bits.py
  • 339_Nested_List_Weight_Sum.py
  • 33_Search_in_Rotated_Sorted_Array.py
  • 340_Longest_Substring_with_At_Most_K_Distinct_Characters.py
  • 34_Search_for_a_Range.py
  • 35_Search_Insert_Position.py
  • 36_Valid_Sudoku.py
  • 37_Sudoku_Solver.py
  • 38_Count_and_Say.py
  • 39_Combination_Sum.py
  • 3_Longest_Substring_Without_Repeating_Characters.py
  • 40_Combination_Sum_II.py
  • 41_First_Missing_Positive.py
  • 42_Trapping_Rain_Water.py
  • 43_Multiply_Strings.py
  • 44_Wildcard_Matching.py
  • 45_Jump_Game_II.py
  • 46_Permutations.py
  • 47_Permutations_II.py
  • 48_Rotate_Image.py
  • 49_Group_Anagrams.py
  • 4_Median_of_Two_Sorted_Arrays.py
  • 50_Pow_x_n.py
  • 51_N-Queens.py
  • 52_N-Queens_II.py
  • 53_Maximum_Subarray.py
  • 54_Spiral_Matrix.py
  • 55_Jump_Game.py
  • 56_Merge_Intervals.py
  • 57_Insert_Interval.py
  • 58_Length_of_Last_Word.py
  • 59_Spiral_Matrix_II.py
  • 5_Longest_Palindrome_Substring.py
  • 60_Permutation_Sequence.py
  • 61_Rotate_List.py
  • 62_Unique_Paths.py
  • 63_Unique_Paths_II.py
  • 64_Minimum_Path_Sum.py
  • 65_Valid_Number.py
  • 66_Plus_One.py
  • 67_Add_Binary.py
  • 68_Text_Justification.py
  • 69_Sqrt_x.py
  • 6_ZigZag_Conversion.py
  • 70_Climbing_Stairs.py
  • 71_Simplify_Path.py
  • 72_Edit_Distance.py
  • 73_Set_Matrix_Zeroes.py
  • 74_Search_a_2D_Matrix.py
  • 75_Sort_Colors.py
  • 76_Minimum_Window_Substring.py
  • 77_Combinations.py
  • 78_Subsets.py
  • 79_Word_Search.py
  • 7_Reverse_Integer.py
  • 80_Remove_Duplicates_from_Sorted_Array_II.py
  • 81_Search_in_Rotated_Sorted_Array_II.py
  • 82_Remove_Duplicates_from_Sorted_List_II.py
  • 83_Remove_Duplicates_from_Sorted_List.py
  • 84_Largest_Rectangle_in_Histogram.py
  • 85_Maximal_Rectangle.py
  • 86_Partition_List.py
  • 87_Scramble_String.py
  • 88_Merge_Sorted_Array.py
  • 89_Gray_Code.py
  • 8_String_to_Integer_atoi.py
  • 90_Subsets_II.py
  • 91_Decode_Ways.py
  • 92_Reverse_Linked_List_II.py
  • 93_Restore_IP_Address.py
  • 94_Binary_Tree_Inorder_Traversal.py
  • 95_Unique_Binary_Search_Trees_II.py
  • 96_Unique_Binary_Search_Trees.py
  • 97_Interleaving_String.py
  • 98_Validate_Binary_Search_Tree.py
  • 99_Recover_Binary_Search_Tree.py
  • 9_Palindrome_Number.py
  • README.md
// repository documentation