-
3 Comments
Alfonso Nieto-Castanon
on 15 May 2014
this is not really a general solution, perhaps you could add more complicated cases in the testsuite? for example pandigital_nb(2200,4000)==10, pandigital_nb(250,40000)==98, pandigital_nb(35327,43854637)==23030
Jean-Marie Sainthillier
on 15 May 2014
I hesitated to add tests that I can't solve by myself.
Alfonso Nieto-Castanon
on 15 May 2014
I see, check solution 443089, that should be a general and relatively fast solution
Suggested Problems
-
1208 Solvers
-
1309 Solvers
-
189 Solvers
-
Max Change in Consecutive Elements
164 Solvers
-
1916 Solvers
More from this Author43
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!