-
2 Comments
Konrad
on 7 Dec 2012
Sorry, I did not want to copy you! Just tried to understand what you did...
Brandon
on 26 Jun 2023
A great example of slow code, this solution takes 4.5 seconds to run through 1000 random numbers. My solution takes a millisecond.
Cody "size" is such a poor measure of good code...
Suggested Problems
-
Calculate the Levenshtein distance between two strings
1455 Solvers
-
386 Solvers
-
How long is the longest prime diagonal?
399 Solvers
-
There are 10 types of people in the world
1151 Solvers
-
685 Solvers
More from this Author96
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!