I've tested all permutations, bainhome, and the test suite results are correct. Test case 4 is due to ABABA and BAAAB, which are two different cases. It is not possible to do the same with test case 5. Since A and B are repeated even times.
Project Euler: Problem 9, Pythagorean numbers
282 Solvers
123 Solvers
Compute a dot product of two vectors x and y
750 Solvers
Matrix which contains the values of an other matrix A at the given locations.
214 Solvers
Find nearest prime number less than input number
269 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!