├── .github └── workflows │ ├── python-checks.yaml │ └── python-lint.yaml ├── .gitignore ├── .pre-commit-config.yaml ├── README.md ├── sols-expl ├── arrays │ └── README.md ├── binary_tree │ └── README.md ├── linked_lists │ └── README.md ├── search-problems │ └── README.md └── strings │ └── README.md └── sols └── python ├── code_challenges ├── arrays │ ├── __init__.py │ ├── prefix_sum_problems.py │ ├── spiral.py │ └── two_pointers.py ├── binary_tree │ ├── __init__.py │ ├── binary_tree.py │ ├── good_nodes.py │ └── zigzag_traversal.py ├── linked_lists │ ├── __init__.py │ ├── linked_list.py │ └── two_pointers.py ├── search_problems │ ├── __init__.py │ └── depth_first_search.py └── strings │ ├── __init__.py │ ├── edit_distance.py │ └── look_and_say.py ├── poetry.lock ├── poetry.toml ├── pyproject.toml └── tests ├── arrays ├── test_prefix_sum_problems.py ├── test_spiral.py └── test_two_pointers.py ├── binary_tree ├── test_good_nodes.py └── test_zigzag_traversal.py ├── linked_lists ├── test_linked_list.py └── test_two_pointers_ll.py ├── search_problems └── test_depth_first_search.py └── strings ├── test_edit_distance.py └── test_look_and_say.py /.github/workflows/python-checks.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpalmasan/code-challenges/HEAD/.github/workflows/python-checks.yaml -------------------------------------------------------------------------------- /.github/workflows/python-lint.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpalmasan/code-challenges/HEAD/.github/workflows/python-lint.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpalmasan/code-challenges/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpalmasan/code-challenges/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpalmasan/code-challenges/HEAD/README.md -------------------------------------------------------------------------------- /sols-expl/arrays/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpalmasan/code-challenges/HEAD/sols-expl/arrays/README.md -------------------------------------------------------------------------------- /sols-expl/binary_tree/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpalmasan/code-challenges/HEAD/sols-expl/binary_tree/README.md -------------------------------------------------------------------------------- /sols-expl/linked_lists/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpalmasan/code-challenges/HEAD/sols-expl/linked_lists/README.md -------------------------------------------------------------------------------- /sols-expl/search-problems/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpalmasan/code-challenges/HEAD/sols-expl/search-problems/README.md -------------------------------------------------------------------------------- /sols-expl/strings/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpalmasan/code-challenges/HEAD/sols-expl/strings/README.md -------------------------------------------------------------------------------- /sols/python/code_challenges/arrays/__init__.py: -------------------------------------------------------------------------------- 1 | """Init module.""" 2 | -------------------------------------------------------------------------------- /sols/python/code_challenges/arrays/prefix_sum_problems.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpalmasan/code-challenges/HEAD/sols/python/code_challenges/arrays/prefix_sum_problems.py -------------------------------------------------------------------------------- /sols/python/code_challenges/arrays/spiral.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpalmasan/code-challenges/HEAD/sols/python/code_challenges/arrays/spiral.py -------------------------------------------------------------------------------- /sols/python/code_challenges/arrays/two_pointers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpalmasan/code-challenges/HEAD/sols/python/code_challenges/arrays/two_pointers.py -------------------------------------------------------------------------------- /sols/python/code_challenges/binary_tree/__init__.py: -------------------------------------------------------------------------------- 1 | """Init module.""" 2 | -------------------------------------------------------------------------------- /sols/python/code_challenges/binary_tree/binary_tree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpalmasan/code-challenges/HEAD/sols/python/code_challenges/binary_tree/binary_tree.py -------------------------------------------------------------------------------- /sols/python/code_challenges/binary_tree/good_nodes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpalmasan/code-challenges/HEAD/sols/python/code_challenges/binary_tree/good_nodes.py -------------------------------------------------------------------------------- /sols/python/code_challenges/binary_tree/zigzag_traversal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpalmasan/code-challenges/HEAD/sols/python/code_challenges/binary_tree/zigzag_traversal.py -------------------------------------------------------------------------------- /sols/python/code_challenges/linked_lists/__init__.py: -------------------------------------------------------------------------------- 1 | """Init module.""" 2 | -------------------------------------------------------------------------------- /sols/python/code_challenges/linked_lists/linked_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpalmasan/code-challenges/HEAD/sols/python/code_challenges/linked_lists/linked_list.py -------------------------------------------------------------------------------- /sols/python/code_challenges/linked_lists/two_pointers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpalmasan/code-challenges/HEAD/sols/python/code_challenges/linked_lists/two_pointers.py -------------------------------------------------------------------------------- /sols/python/code_challenges/search_problems/__init__.py: -------------------------------------------------------------------------------- 1 | """Init module.""" 2 | -------------------------------------------------------------------------------- /sols/python/code_challenges/search_problems/depth_first_search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpalmasan/code-challenges/HEAD/sols/python/code_challenges/search_problems/depth_first_search.py -------------------------------------------------------------------------------- /sols/python/code_challenges/strings/__init__.py: -------------------------------------------------------------------------------- 1 | """Init module.""" 2 | -------------------------------------------------------------------------------- /sols/python/code_challenges/strings/edit_distance.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpalmasan/code-challenges/HEAD/sols/python/code_challenges/strings/edit_distance.py -------------------------------------------------------------------------------- /sols/python/code_challenges/strings/look_and_say.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpalmasan/code-challenges/HEAD/sols/python/code_challenges/strings/look_and_say.py -------------------------------------------------------------------------------- /sols/python/poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpalmasan/code-challenges/HEAD/sols/python/poetry.lock -------------------------------------------------------------------------------- /sols/python/poetry.toml: -------------------------------------------------------------------------------- 1 | [virtualenvs] 2 | create = true 3 | -------------------------------------------------------------------------------- /sols/python/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpalmasan/code-challenges/HEAD/sols/python/pyproject.toml -------------------------------------------------------------------------------- /sols/python/tests/arrays/test_prefix_sum_problems.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpalmasan/code-challenges/HEAD/sols/python/tests/arrays/test_prefix_sum_problems.py -------------------------------------------------------------------------------- /sols/python/tests/arrays/test_spiral.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpalmasan/code-challenges/HEAD/sols/python/tests/arrays/test_spiral.py -------------------------------------------------------------------------------- /sols/python/tests/arrays/test_two_pointers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpalmasan/code-challenges/HEAD/sols/python/tests/arrays/test_two_pointers.py -------------------------------------------------------------------------------- /sols/python/tests/binary_tree/test_good_nodes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpalmasan/code-challenges/HEAD/sols/python/tests/binary_tree/test_good_nodes.py -------------------------------------------------------------------------------- /sols/python/tests/binary_tree/test_zigzag_traversal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpalmasan/code-challenges/HEAD/sols/python/tests/binary_tree/test_zigzag_traversal.py -------------------------------------------------------------------------------- /sols/python/tests/linked_lists/test_linked_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpalmasan/code-challenges/HEAD/sols/python/tests/linked_lists/test_linked_list.py -------------------------------------------------------------------------------- /sols/python/tests/linked_lists/test_two_pointers_ll.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpalmasan/code-challenges/HEAD/sols/python/tests/linked_lists/test_two_pointers_ll.py -------------------------------------------------------------------------------- /sols/python/tests/search_problems/test_depth_first_search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpalmasan/code-challenges/HEAD/sols/python/tests/search_problems/test_depth_first_search.py -------------------------------------------------------------------------------- /sols/python/tests/strings/test_edit_distance.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpalmasan/code-challenges/HEAD/sols/python/tests/strings/test_edit_distance.py -------------------------------------------------------------------------------- /sols/python/tests/strings/test_look_and_say.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dpalmasan/code-challenges/HEAD/sols/python/tests/strings/test_look_and_say.py --------------------------------------------------------------------------------