This solution is outdated. To rescore this solution, sign in.
-
3 Comments
Daniel Bergman
on 21 Feb 2019
Any suggestions for improving the test suite would be appreciated!
Tim
on 2 Mar 2019
Adding test cases a=105 b=30 and a=111 b=3 should weed out a couple of less-than-general solutions.
Rafael S.T. Vieira
on 19 Sep 2020
Add decimal and irrational numbers, but only check if the n-first digits are a permutation of each other.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!