Is that possible to have a ranking of the solutions based on their performing time? I think that the could be a method that is fast even if more sized.
Solution
provides inexpensive method. There is only one 2nd order polynomial solution and one division.
i get the same solution but the test says false
for test 9, 11
I thought we had to discount all the equivalent fractions (like 2/2) so I wrote this horrible cheat. How embarrassing.
12409 Solvers
Find the alphabetic word product
2325 Solvers
middleAsColumn: Return all but first and last element as a column vector
390 Solvers
How many trades represent all the profit?
520 Solvers
Find the dimensions of a matrix
373 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!