-
2 Comments
goc3
on 31 Aug 2022
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.
Dyuman Joshi
on 31 Aug 2022
That's an excellent suggestion Grant!
I have implemented the individual assertion calls you provided.
And I'm glad you like the problem!
Suggested Problems
-
Smallest distance between a point and a rectangle
271 Solvers
-
776 Solvers
-
813 Solvers
-
Volume of a sphere given its surface area
151 Solvers
-
Sum of diagonals elements of a matrix
223 Solvers
More from this Author31
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!