Skip to content

Commit 8c00f5e

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent ecab4cf commit 8c00f5e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

backtracking/m_coloring_problem.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
from typing import List
22

33

4-
def is_safe(node: int, color: int, graph: List[List[int]], n: int, col: List[int]) -> bool:
4+
def is_safe(
5+
node: int, color: int, graph: List[List[int]], n: int, col: List[int]
6+
) -> bool:
57
"""
68
Check if it is safe to assign a color to a node.
79

0 commit comments

Comments
 (0)