Problem 2319. Pandigital number n°1 (Inspired by Project Euler 32)

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

53.33% Correct | 46.67% Incorrect
Last solution submitted on Feb 17, 2019