Update backtracking/coloring.py

Co-authored-by: Christian Clauss <cclauss@me.com>
This commit is contained in:
Hardik Pawar 2024-10-01 08:21:52 +05:30 committed by GitHub
parent 8fae9d55a8
commit 9da28b0ccc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,7 +21,7 @@ def valid_coloring(
If all neighbours validate the constraint return True
Parameters:
neighbours (list[int]): The list representing which vertices
neighbours: The list representing which vertices
are adjacent to the current vertex.
1 indicates an edge between the current vertex
and the neighbour.