Python
Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md Create README.md Feb 17, 2014
addBinary.py Add Binary Feb 20, 2014
addTwoNumbers.py
anagrams.py Anagrams Feb 20, 2014
arden_find_missing_element.py Arden - Find Missing Element Mar 9, 2014
climbStairs.py
combine.py
countAndSay.py Count and Say Feb 20, 2014
deleteDuplicates.py
evalRPN.py
flatten.py Flatten Binary Tree to Linked List Feb 16, 2014
generate.py Pascal's Triangle Mar 3, 2014
hasPathSum.py
inorderTraversal.py
isBalanced.py
isPalindrome.py Valid Palindrome Feb 20, 2014
isSameTree.py Same Tree Feb 16, 2014
isSymmetric.py Symmetric Tree Feb 16, 2014
isValid.py
isValidBST.py
letterCombinations.py
levelOrder.py
levelOrderBottom.py Binary Tree Level Order Traversal II Feb 16, 2014
maxDepth.py Maximum Depth of Binary Tree Feb 16, 2014
maxPathSum.py Binary Tree Maximum Path Sum Feb 16, 2014
maxProfit.py
maxProfit2.py
merge.py Merge Sorted Array Mar 3, 2014
mergeTwoLists.py
minDepth.py Minimum Depth of Binary Tree Feb 16, 2014
numOfRegions.py Find Connected Region Number from a 2D matrix Feb 16, 2014
numTrees.py Unique Binary Search Trees Mar 3, 2014
partition.py Partition List Feb 17, 2014
pathSum.py Path Sum II - Sec Feb 16, 2014
permute.py Permutations Mar 7, 2014
plusOne.py
preorderTraversal.py Binary Tree Preorder Traversal Feb 20, 2014
removeDuplicates.py
removeDuplicates2.py Remove Duplicates from Sorted Array II Mar 3, 2014
removeElement.py
removeNthFromEnd.py
searchInsert.py Search Insert Position Mar 2, 2014
simplifyPath.py Simplify Path Mar 3, 2014
sortedArrayToBST.py Convert Sorted Array to Binary Search Tree Feb 16, 2014
sqrt.py Sqrt(x) Feb 17, 2014
sumNumbers.py Sum Root to Leaf Numbers Feb 16, 2014
swapPairs.py
twoSum.py
uniquePaths.py Unique Paths Mar 2, 2014
wordBreak.py

README.md

LeetCode-Python

I'm very happy that LeetCode has just added Python, here is my LeetCode practice in Python. Go to http://oj.leetcode.com/ for all the problems, you can run on-line judge directly to save your time writing test cases.