Python/backtracking
Saba Pochkhua b01e5b78a3
Graph coloring (#1921)
* add skeleton code

* add doctests

* add mainc function pseudo code and tests (ToDo: write Implementation)

* typo fixes

* implement algorithm

* add type checking

* add wikipedia link

* typo fix

* update range syntax

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

* change indexed iteration checking to any()

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

* fix: swap import and documentation sections

* fix: change return none to return empty list

* remove unnecessary import (Union)

* change: remove returning boolean indicating problem was solved or not

* remove unnecessary import (Tuple)

Co-authored-by: Christian Clauss <cclauss@me.com>
2020-04-30 23:23:52 +02:00
..
all_combinations.py pyupgrade --py37-plus **/*.py (#1654) 2020-01-03 22:25:36 +08:00
all_permutations.py Fix indentation contains tabs (flake8 E101,W191) (#1573) 2019-11-15 23:05:00 -08:00
all_subsequences.py Fix indentation contains tabs (flake8 E101,W191) (#1573) 2019-11-15 23:05:00 -08:00
coloring.py Graph coloring (#1921) 2020-04-30 23:23:52 +02:00
minimax.py psf/black code formatting (#1277) 2019-10-05 10:14:13 +05:00
n_queens.py contribution guidelines checks (#1787) 2020-03-04 13:40:28 +01:00
sudoku.py Simplify sudoku.is_completed() using builtin all() (#1608) 2019-12-08 22:42:17 +01:00
sum_of_subsets.py Fix indentation contains tabs (flake8 E101,W191) (#1573) 2019-11-15 23:05:00 -08:00