Solution 11 by Alfonso crushes Java performance with a time of 0.014s for 1000!. Best use of base.
longer code but considerably faster non-java solution (0.05s for 1000!)
Solution 9 sees Alfonso step up and provide a concise method in the Best Factorial Solution in the Non-Java Category.
We don't need no steenkin' Java. :-)
Solution 6 is an expertly crafted non-java solution. Complexity Level- Outstanding. Time for 1000! vs Java ?
The convolution method is considerably slower than Java, which is what you would expect. For the java vs. non-java solutions:
Java - Elapsed time is 0.138064 seconds.
This case - Elapsed time is 1.039240 seconds.
Read a column of numbers and interpolate missing data
1250 Solvers
Matrix with different incremental runs
106 Solvers
Rotate input square matrix 90 degrees CCW without rot90
384 Solvers
229 Solvers
Solving Quadratic Equations (Version 1)
429 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!