-
2 Comments
Andrew Newell
on 18 May 2017
I would love to know how you came up with that.
Daigo
on 16 Jan 2022
I have no idea how you came up with this... So elegant.
Suggested Problems
-
Recurring Cycle Length (Inspired by Project Euler Problem 26)
131 Solvers
-
209 Solvers
-
Given a window, how many subsets of a vector sum positive
857 Solvers
-
Get the elements of diagonal and antidiagonal for any m-by-n matrix
484 Solvers
-
151 Solvers
More from this Author50
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!