mirror of
https://github.com/TheAlgorithms/Python.git
synced 2026-09-28 13:33:11 +08:00
* Improve comments, add doctests to coloring.py * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fix ruff errors * Update backtracking/coloring.py Co-authored-by: Christian Clauss <cclauss@me.com> * Update backtracking/coloring.py Co-authored-by: Christian Clauss <cclauss@me.com> * Update backtracking/coloring.py Co-authored-by: Christian Clauss <cclauss@me.com> * Update backtracking/coloring.py Co-authored-by: Christian Clauss <cclauss@me.com> * Update backtracking/coloring.py Co-authored-by: Christian Clauss <cclauss@me.com> * Remove type hints for function docstrings * updating DIRECTORY.md * updating DIRECTORY.md * pyproject.toml: tool.rumdl.per-file-ignores."index.md" = ["MD040"] * Clean up toctree in index.md Removed unnecessary comment from the toctree directive. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Christian Clauss <cclauss@me.com> Co-authored-by: Hardvan <Hardvan@users.noreply.github.com> Co-authored-by: cclauss <cclauss@users.noreply.github.com>
Backtracking
Backtracking is a way to speed up the search process by removing candidates when they can't be the solution of a problem.