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 d38b935 commit 8fae9d5Copy full SHA for 8fae9d5
backtracking/coloring.py
@@ -11,7 +11,7 @@ def valid_coloring(
11
neighbours: list[int], colored_vertices: list[int], color: int
12
) -> bool:
13
"""
14
- This function checks if a given vertex can be assigned the specified color
+ Check if a given vertex can be assigned the specified color
15
without violating the graph coloring constraints (i.e., no two adjacent vertices
16
have the same color).
17
0 commit comments