JavaScript implementation to find the count of numbers possible less than N , such that every digit is from the given set of digits
var dp = Array . from ( Array ( 15 ) , ( ) => Array ( 2 ) . fill ( - 1 ) ) ;