Problem 53720. Secure Password
Solution Stats
Problem Comments
Solution Comments
-
2 Comments
I don't think any human could remember all the passwords my function just generated!
I would recommend breaking up the assertions into individual calls to help the user diagnose specific problems when/if their function does not pass. I have provided a commented-out example of such a set with my solution.
This is a good problem. Thanks.
That's an excellent suggestion Grant!
I have implemented the individual assertion calls you provided.
And I'm glad you like the problem!
-
1 Comment
The loophole answer haha, thanks for pointing this out. I have made changes to the test suite
Problem Recent Solvers8
Suggested Problems
-
333 Solvers
-
310 Solvers
-
Return unique values without sorting
832 Solvers
-
314 Solvers
-
125 Solvers
More from this Author27
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!