difficulty
Sets the difficulty level for the Sudoku puzzle.
Return
This builder instance.
Parameters
difficulty
The desired difficulty level.
Sets the difficulty level for the Sudoku puzzle using a lambda function.
Return
This builder instance.
Parameters
difficulty
A lambda that returns the desired difficulty level.