-
1 Comment
GeeTwo
on 10 Nov 2022
At last! A truly MATLAB-like solution that doesn't time out! Essentially the same as one of my earlier solutions, but forcing that big array of ones and zeros to be int8 rather than double. Logical was just a touch slower than int8.
Suggested Problems
-
Find the two most distant points
2880 Solvers
-
506 Solvers
-
68 Solvers
-
Not square-free number sequence
66 Solvers
-
310 Solvers
More from this Author116
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!