That does make it more awkward.I think I had better say no more otherwise I am liable to give you too complete a solution.
Michael Grünau wrote:. . . passwordLength can change . . .
Michael Grünau wrote:We need to implement an Instanz of Iterator which goes through all the possible digit sequences of the given password length with the following conditions.
1. Digit Sequence of same number 0000
2. Digit Sequence rising 1234
3. Digit Sequence falling 4321
4. All the rest
We don't have a list where we can iterate over...