/py-dsa

Primary LanguagePython

Python DSA

lint unittest CircleCI

Some useful and popular Data Structures and Algorithms implemented in Python. Please feel to contribute

  • Please write your own test cases, structure/examples can be found in any folder.
py-dsa
 ┣ πŸ“‚ds
 ┃ ┣ πŸ“‚BST
 ┃ ┃ ┣ πŸ“‚tests
 ┃ ┃ ┃ ┣ πŸ“œ__init__.py
 ┃ ┃ ┃ ┣ πŸ“œbst_construction_test.py
 ┃ ┃ ┃ β”— πŸ“œbst_validate_test.py
 ┃ ┃ ┣ πŸ“œ__init__.py
 ┃ ┃ ┣ πŸ“œbst_construction.py
 ┃ ┃ β”— πŸ“œbst_validate.py
 ┃ β”— πŸ“œ__init__.py
 ┣ πŸ“‚problems
 ┃ ┣ πŸ“‚arrays
 ┃ ┣ πŸ“‚stacks
 ┃ ┃ ┣ πŸ“‚tests
 ┃ ┃ ┃ ┣ πŸ“œ__init__.py
 ┃ ┃ ┃ β”— πŸ“œmatching_brackets_test.py
 ┃ ┃ ┣ πŸ“œ__init__.py
 ┃ ┃ β”— πŸ“œmatching_brackets.py
 ┃ β”— πŸ“œ__init__.py
 ┣ πŸ“œ.gitignore
 ┣ πŸ“œ.pre-commit-config.yaml
 β”— πŸ“œREADME.md
  • Please make sure that your code passed all tests and style enforcements before making a PR, thanks!