Skip to content

Commit 7e23518

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

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

backtracking/m_coloring_problem.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,7 @@ def solve(
4444
return False
4545

4646

47-
def graph_coloring(
48-
graph: list[list[int]], max_colors: int, num_vertices: int
49-
) -> bool:
47+
def graph_coloring(graph: list[list[int]], max_colors: int, num_vertices: int) -> bool:
5048
"""
5149
Determine if the graph can be colored with at most max_colors.
5250

0 commit comments

Comments
 (0)