Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Leetcode challenge in python

learn basic data structure and practice in python

data structure

algrithm highlight

binary tree dfs

def preorder(root):
    if root:
        return [root.val] + preorder(root.left) + preorder(root.right) 
    else:
        return []

Environment setup

python installation

    pipenv install
    pipenv shell