Function takes in an array of numbers , dynamically goes on the location and makes combination of numbers .
bool isSubSeqDivisible ( string str ) { int n = str . length ( ) ; int dp [ n + 1 ] [ 10 ] ; memset ( dp , 0 , sizeof ( dp ) ) ;