Problem 53720. Secure Password
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!
The loophole answer haha, thanks for pointing this out. I have made changes to the test suite
Problem Recent Solvers8
Replace NaNs with the number that appears to its left in the row.
Numbers with prime factors 2, 3 and 5.
How long do each of the stages of the rocket take to burn?
More from this Author27
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!