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
-
Read a column of numbers and interpolate missing data
1865 Solvers
-
Program an exclusive OR operation with logical operators
690 Solvers
-
109 Solvers
-
Remove from a 2-D matrix all the rows that contain at least one element less than or equal to 4
132 Solvers
-
Rotate input square matrix 90 degrees CCW without rot90
447 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!