Python/backtracking
GDWR c824b90ead
Remove redundent function in Backtracking Sudoku (#4499)
* Remove redundent function

After reviewing this code, I've noticed that the `is_completed` function is a redundant operation.
Increasing the number of loops required for each step of the sudoku solver. 
This should remove n² operations where n is the width of the grid.

* Update sudoku.py

Remove additional newline
2021-06-10 22:14:41 +05:30
..
__init__.py Add __init__.py files in all the directories (#2503) 2020-09-28 19:42:36 +02:00
all_combinations.py Fix mypy in #2684 (#3987) 2020-11-29 23:00:31 +05:30
all_permutations.py Fix mypy in #2684 (#3987) 2020-11-29 23:00:31 +05:30
all_subsequences.py [mypy] Add/fix type annotations for backtracking algorithms (#4055) 2020-12-24 18:16:21 +05:30
coloring.py [mypy] Add/fix type annotations for backtracking algorithms (#4055) 2020-12-24 18:16:21 +05:30
hamiltonian_cycle.py [mypy] Add/fix type annotations for backtracking algorithms (#4055) 2020-12-24 18:16:21 +05:30
knight_tour.py [mypy] Add/fix type annotations for backtracking algorithms (#4055) 2020-12-24 18:16:21 +05:30
minimax.py [mypy] Add/fix type annotations for backtracking algorithms (#4055) 2020-12-24 18:16:21 +05:30
n_queens_math.py [mypy] Add/fix type annotations for backtracking algorithms (#4055) 2020-12-24 18:16:21 +05:30
n_queens.py Fix mypy in #2684 (#3987) 2020-11-29 23:00:31 +05:30
rat_in_maze.py Fix mypy in #2684 (#3987) 2020-11-29 23:00:31 +05:30
sudoku.py Remove redundent function in Backtracking Sudoku (#4499) 2021-06-10 22:14:41 +05:30
sum_of_subsets.py Fix mypy in #2684 (#3987) 2020-11-29 23:00:31 +05:30