A little warm-up to begin...
An n-digit number is pandigital if it makes use of all the digits 1 to n exactly ONCE.
For example, the 5-digit number 15234, is 1 through 5 pandigital.
Given a positive integer find whether it is a pandigital number.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers113
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1990 Solvers
-
Number of 1s in a binary string
10973 Solvers
-
1182 Solvers
-
Cell Counting: How Many Draws?
2382 Solvers
-
2003 Solvers
More from this Author43
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!