Skip to content

Commit 26321da

Browse files
Hardvancclauss
andauthored
Update backtracking/coloring.py
Co-authored-by: Christian Clauss <[email protected]>
1 parent 7fafb02 commit 26321da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backtracking/coloring.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,4 +175,4 @@ def color(graph: list[list[int]], max_colors: int) -> list[int]:
175175
if util_color(graph, max_colors, colored_vertices, 0):
176176
return colored_vertices # The successful color assignment
177177

178-
return [] # Return an empty list if no valid coloring is possible
178+
return [] # No valid coloring is possible

0 commit comments

Comments
 (0)