Skip to content

Commit 8fae9d5

Browse files
Hardvancclauss
andauthored
Update backtracking/coloring.py
Co-authored-by: Christian Clauss <[email protected]>
1 parent d38b935 commit 8fae9d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: backtracking/coloring.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def valid_coloring(
1111
neighbours: list[int], colored_vertices: list[int], color: int
1212
) -> bool:
1313
"""
14-
This function checks if a given vertex can be assigned the specified color
14+
Check if a given vertex can be assigned the specified color
1515
without violating the graph coloring constraints (i.e., no two adjacent vertices
1616
have the same color).
1717

0 commit comments

Comments
 (0)