MCPcopy Index your code
hub / github.com/TheAlgorithms/Python / unitsolved

Function unitsolved

data_structures/arrays/sudoku_solver.py:201–202  ·  view source on GitHub ↗
(unit)

Source from the content-addressed store, hash-verified

199 """
200
201 def unitsolved(unit):
202 return {values[s] for s in unit} == set(digits)
203
204 return values is not False and all(unitsolved(unit) for unit in unitlist)
205

Callers 1

solvedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected