-
1 Comment
Rafael S.T. Vieira
on 5 Sep 2020
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.
Suggested Problems
-
1937 Solvers
-
1567 Solvers
-
Project Euler: Problem 3, Largest prime factor
1601 Solvers
-
1036 Solvers
-
44 Solvers
More from this Author100
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!