├── .DS_Store ├── 01TwoSum.py ├── 02Add_Two_Numbers.py ├── 03_Without_Repeating_Characters.py ├── 04_median_two_sorted_arrays.py ├── 05LongestPalindrome.py ├── 06ZigZag.py ├── 07reverse_integer.py ├── 08string2int-2.py ├── 09palindrome_number.py ├── 10REM.py ├── 11water.py ├── 12Integer2Roman.py ├── 13Roman2Integer.py ├── 14Longest_Common_Prefix.py ├── 153Sum.py ├── 16 3SumClosest.py ├── 17lcp.py ├── 184sum.py ├── 19 Remove Nth Node.py ├── 20 Valid Parentheses.py ├── 21merge2sortedlists.py ├── 22GenerateParentheses.py ├── 23mergeksortedlists.py ├── 24swapnodesinpairs.py ├── 25ReverseNodesink-Group.py ├── 26RemoveDuplicatesFromSortedArray.py ├── 27RemoveElement.py ├── 28Implementstr.py ├── 29DivideTwoIntegers.py ├── 30SubstringWithConcatenationOfAllWords.py ├── 31NextPermutation.py ├── 32Longest Valid Parentheses-2.py ├── 32LongestValidParentheses.py ├── 33 SearchinRotated SortedArray.py ├── 34Find First and Last Position of Element in Sorted Array.py ├── 35SearchInsertPosition.py ├── 36ValidSudoku.py ├── 37SudokuSolver.py ├── 382_Linked_List_Random_Node.py ├── 38CountandSay.py ├── 398_Random_Pick_Index.py ├── 39CombinationSum.py ├── 40CombinationSum2.py ├── 41FirstMissingPositve.py ├── 42TrappingRainWater.py ├── 43MultiplyStrings.py ├── 44WildcardMatching.py ├── 45_Jump_Game_II.py ├── 45_explanation_Jump_Game_II .md ├── 470_explain.py ├── 470_implement_rand10_using_rand7.py ├── 478_Generate_Random_Point_in_a_Circle.py ├── 497Random_Point_in_Non-overlapping_Rectangles.py ├── 519_random_flip_matrix.py ├── 528_Random_Pick_with_Weight.py ├── 55_Jump_Game.py ├── 55_explanation_Jump_Game.md ├── 587_Erect_the_Fence.py ├── 710_Random_Pick_with_Blacklist.py ├── 892SurfaceAreaof3DShapes.py ├── 963_Minimum_Area_Rectangle_II.py ├── Exp_470_Expectation calculation.py └── README.md /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/.DS_Store -------------------------------------------------------------------------------- /01TwoSum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/01TwoSum.py -------------------------------------------------------------------------------- /02Add_Two_Numbers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/02Add_Two_Numbers.py -------------------------------------------------------------------------------- /03_Without_Repeating_Characters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/03_Without_Repeating_Characters.py -------------------------------------------------------------------------------- /04_median_two_sorted_arrays.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/04_median_two_sorted_arrays.py -------------------------------------------------------------------------------- /05LongestPalindrome.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/05LongestPalindrome.py -------------------------------------------------------------------------------- /06ZigZag.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/06ZigZag.py -------------------------------------------------------------------------------- /07reverse_integer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/07reverse_integer.py -------------------------------------------------------------------------------- /08string2int-2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/08string2int-2.py -------------------------------------------------------------------------------- /09palindrome_number.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/09palindrome_number.py -------------------------------------------------------------------------------- /10REM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/10REM.py -------------------------------------------------------------------------------- /11water.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/11water.py -------------------------------------------------------------------------------- /12Integer2Roman.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/12Integer2Roman.py -------------------------------------------------------------------------------- /13Roman2Integer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/13Roman2Integer.py -------------------------------------------------------------------------------- /14Longest_Common_Prefix.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/14Longest_Common_Prefix.py -------------------------------------------------------------------------------- /153Sum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/153Sum.py -------------------------------------------------------------------------------- /16 3SumClosest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/16 3SumClosest.py -------------------------------------------------------------------------------- /17lcp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/17lcp.py -------------------------------------------------------------------------------- /184sum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/184sum.py -------------------------------------------------------------------------------- /19 Remove Nth Node.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/19 Remove Nth Node.py -------------------------------------------------------------------------------- /20 Valid Parentheses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/20 Valid Parentheses.py -------------------------------------------------------------------------------- /21merge2sortedlists.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/21merge2sortedlists.py -------------------------------------------------------------------------------- /22GenerateParentheses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/22GenerateParentheses.py -------------------------------------------------------------------------------- /23mergeksortedlists.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/23mergeksortedlists.py -------------------------------------------------------------------------------- /24swapnodesinpairs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/24swapnodesinpairs.py -------------------------------------------------------------------------------- /25ReverseNodesink-Group.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/25ReverseNodesink-Group.py -------------------------------------------------------------------------------- /26RemoveDuplicatesFromSortedArray.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/26RemoveDuplicatesFromSortedArray.py -------------------------------------------------------------------------------- /27RemoveElement.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/27RemoveElement.py -------------------------------------------------------------------------------- /28Implementstr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/28Implementstr.py -------------------------------------------------------------------------------- /29DivideTwoIntegers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/29DivideTwoIntegers.py -------------------------------------------------------------------------------- /30SubstringWithConcatenationOfAllWords.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/30SubstringWithConcatenationOfAllWords.py -------------------------------------------------------------------------------- /31NextPermutation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/31NextPermutation.py -------------------------------------------------------------------------------- /32Longest Valid Parentheses-2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/32Longest Valid Parentheses-2.py -------------------------------------------------------------------------------- /32LongestValidParentheses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/32LongestValidParentheses.py -------------------------------------------------------------------------------- /33 SearchinRotated SortedArray.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/33 SearchinRotated SortedArray.py -------------------------------------------------------------------------------- /34Find First and Last Position of Element in Sorted Array.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/34Find First and Last Position of Element in Sorted Array.py -------------------------------------------------------------------------------- /35SearchInsertPosition.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/35SearchInsertPosition.py -------------------------------------------------------------------------------- /36ValidSudoku.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/36ValidSudoku.py -------------------------------------------------------------------------------- /37SudokuSolver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/37SudokuSolver.py -------------------------------------------------------------------------------- /382_Linked_List_Random_Node.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/382_Linked_List_Random_Node.py -------------------------------------------------------------------------------- /38CountandSay.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/38CountandSay.py -------------------------------------------------------------------------------- /398_Random_Pick_Index.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/398_Random_Pick_Index.py -------------------------------------------------------------------------------- /39CombinationSum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/39CombinationSum.py -------------------------------------------------------------------------------- /40CombinationSum2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/40CombinationSum2.py -------------------------------------------------------------------------------- /41FirstMissingPositve.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/41FirstMissingPositve.py -------------------------------------------------------------------------------- /42TrappingRainWater.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/42TrappingRainWater.py -------------------------------------------------------------------------------- /43MultiplyStrings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/43MultiplyStrings.py -------------------------------------------------------------------------------- /44WildcardMatching.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/44WildcardMatching.py -------------------------------------------------------------------------------- /45_Jump_Game_II.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/45_Jump_Game_II.py -------------------------------------------------------------------------------- /45_explanation_Jump_Game_II .md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/45_explanation_Jump_Game_II .md -------------------------------------------------------------------------------- /470_explain.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/470_explain.py -------------------------------------------------------------------------------- /470_implement_rand10_using_rand7.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/470_implement_rand10_using_rand7.py -------------------------------------------------------------------------------- /478_Generate_Random_Point_in_a_Circle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/478_Generate_Random_Point_in_a_Circle.py -------------------------------------------------------------------------------- /497Random_Point_in_Non-overlapping_Rectangles.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/497Random_Point_in_Non-overlapping_Rectangles.py -------------------------------------------------------------------------------- /519_random_flip_matrix.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/519_random_flip_matrix.py -------------------------------------------------------------------------------- /528_Random_Pick_with_Weight.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/528_Random_Pick_with_Weight.py -------------------------------------------------------------------------------- /55_Jump_Game.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/55_Jump_Game.py -------------------------------------------------------------------------------- /55_explanation_Jump_Game.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/55_explanation_Jump_Game.md -------------------------------------------------------------------------------- /587_Erect_the_Fence.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/587_Erect_the_Fence.py -------------------------------------------------------------------------------- /710_Random_Pick_with_Blacklist.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/710_Random_Pick_with_Blacklist.py -------------------------------------------------------------------------------- /892SurfaceAreaof3DShapes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/892SurfaceAreaof3DShapes.py -------------------------------------------------------------------------------- /963_Minimum_Area_Rectangle_II.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/963_Minimum_Area_Rectangle_II.py -------------------------------------------------------------------------------- /Exp_470_Expectation calculation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/Exp_470_Expectation calculation.py -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JediXL/LeetCodeByPython/HEAD/README.md --------------------------------------------------------------------------------