Function takes in an array of numbers , dynamically goes on the location and makes combination of numbers .
static bool isSubSeqDivisible ( String str ) { int n = str . Length ; int [ , ] dp = new int [ n + 1 , 10 ] ;