Python/matrix
Caeden Perelli-Harris daa1c7529a
Raise error not string (#7945)
* ci: Add `B023` to `.flake8` ignores

* refactor: Return `bool`/raise Exception

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* revert: Remove previous branch commit

* Update data_structures/binary_tree/segment_tree_other.py

Co-authored-by: Christian Clauss <cclauss@me.com>

* feat: Apply `__repr__` changes

* chore: Fix failing tests

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update data_structures/binary_tree/segment_tree_other.py

Co-authored-by: Christian Clauss <cclauss@me.com>

* test: Fix doctests

* random.choice(population_score[:N_SELECTED])[0]

* Update basic_string.py

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Christian Clauss <cclauss@me.com>
2022-11-06 15:54:44 +01:00
..
tests [mypy] Added/fixed type annotations for "rotate_matrix.py" & "test_matrix_operation.py" (#4221) 2021-02-26 14:30:35 +01:00
__init__.py Add __init__.py files in all the directories (#2503) 2020-09-28 19:42:36 +02:00
binary_search_matrix.py Create binary_search_matrix.py (#6995) 2022-10-13 22:03:15 +02:00
count_islands_in_matrix.py Add pep8-naming to pre-commit hooks and fixes incorrect naming conventions (#7062) 2022-10-13 00:54:20 +02:00
count_paths.py matrix/count_paths.py (#7533) 2022-10-30 18:20:07 +13:00
cramers_rule_2x2.py Raise error not string (#7945) 2022-11-06 15:54:44 +01:00
inverse_of_matrix.py added support for inverse of 3x3 matrix (#7355) 2022-10-26 10:36:40 +02:00
largest_square_area_in_matrix.py Create largest_square_area_in_matrix.py (#7673) 2022-10-26 17:06:15 +02:00
matrix_class.py Remove useless code in doctests (#7733) 2022-10-27 22:52:00 +02:00
matrix_operation.py Add missing type hints in matrix directory (#6612) 2022-10-04 20:05:56 +02:00
max_area_of_island.py [Matrix] Max area of island problem solved DFS algorithm (#6918) 2022-10-18 20:05:18 +02:00
nth_fibonacci_using_matrix_exponentiation.py Add flake8 pluin flake8 bugbear to pre-commit (#7132) 2022-10-13 18:03:06 +02:00
pascal_triangle.py refactor: Move pascals triange to maths/ (#7932) 2022-11-01 20:25:39 +01:00
rotate_matrix.py Add missing type hints in matrix directory (#6612) 2022-10-04 20:05:56 +02:00
searching_in_sorted_matrix.py Add missing type hints in matrix directory (#6612) 2022-10-04 20:05:56 +02:00
sherman_morrison.py Follow Flake8 pep3101 and remove modulo formatting (#7339) 2022-10-16 22:50:11 +02:00
spiral_print.py Update spiral_print.py (#7674) 2022-10-26 18:58:33 +02:00