+ 7

Challenge: Crack the "password" password

You are trying to access your account on your website, and you cannot remember your password. The only thing you can remember about it is that it is some combination of the word "password" where the letters could be upper or lowercase, and you may have substituted 'a' with '@', 's'  with '5', or 'o'  with '0' (zero). Write code that will output all possible combinations of "password" with the above substitutions. No word may be repeated. 

10th Sep 2017, 6:39 PM
Anthony Mans
Anthony Mans - avatar
8 Antworten
+ 7
I'm so glad to finally see a CS submission in challenge by @MobPsycho???! Anyway here's my C# implementation with LINQ in 2 different syntax (i.e. Query and Method):- https://code.sololearn.com/cL57mW51kKmK/?ref=app I'm still trying to find a clean way to generalize my approach and if anyone got better idea kindly please let me know. Enjoy! ✌
11th Sep 2017, 5:29 AM
Zephyr Koo
Zephyr Koo - avatar
+ 2
combinations without repetition?
10th Sep 2017, 6:46 PM
Daniel
Daniel - avatar
+ 2
Yeah, I've actually written permuters to recover my own passwords, but I associate it with being annoyed so I might skip this one :)
10th Sep 2017, 7:20 PM
Kirk Schafer
Kirk Schafer - avatar
+ 2
"combinations without repetition?" yes. as in the list can't contain the same word more than once. not allowed: password P@5sword p@s5w0rd * p@s5w0rd * * this repetition isn't allowed. its a waste of resources otherwise.
10th Sep 2017, 8:53 PM
Anthony Mans
Anthony Mans - avatar
11th Sep 2017, 1:31 PM
ysraelcon
ysraelcon - avatar