-
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
-
2388 Solvers
-
22197 Solvers
-
Create a vector whose elements depend on the previous element
713 Solvers
-
331 Solvers
-
894 Solvers
More from this Author43
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!