We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fafb02 commit 26321daCopy full SHA for 26321da
backtracking/coloring.py
@@ -175,4 +175,4 @@ def color(graph: list[list[int]], max_colors: int) -> list[int]:
175
if util_color(graph, max_colors, colored_vertices, 0):
176
return colored_vertices # The successful color assignment
177
178
- return [] # Return an empty list if no valid coloring is possible
+ return [] # No valid coloring is possible
0 commit comments