Function to find the longest subsequence which is divisible by K
static void findLargestNo ( String str , StringBuilder newstr , StringBuilder ans , int index , long K ) { if ( index == str . Length ) {