numbbbbb/sicp

e3-4 consecutive

Opened this issue · 0 comments

We should reset the counter upon one successful login to fulfil consecutive requirement?

consider the following examples:

6 consecutive failed login
1 successful login
2 consecutive failed login -> will still call the cops

(btw thanks for the solutions and great writeup !)