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
-
Replace NaNs with the number that appears to its left in the row.
2605 Solvers
-
1285 Solvers
-
Numbers with prime factors 2, 3 and 5.
413 Solvers
-
66 Solvers
-
How long do each of the stages of the rocket take to burn?
164 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!