attemptedSolutions property

int attemptedSolutions
final

The number of solutions that were attempted before either finding a successful solution or exhausting all options.

In other words, one more than the number of times it had to backtrack because it found an invalid solution.

Implementation

final int attemptedSolutions;