• + 0 comments

    there are so many test cases and it seems working but most of them are failing because of time limit.

    `python

    for x in passwords: if x == loginAttempt[:len(x)]: # print(x) if x == loginAttempt: return x res = passwordCracker(passwords, loginAttempt[len(x):]) if res != 0 and 'WRONG PASSWORD' not in res: return x +' '+ res else: continue return 'WRONG PASSWORD'`