Memoization based recursive function to count numbers with even and odd digit sum difference as 1. This function considers leading zero as a digit
unsigned long long int countRec ( int digits , int esum , int osum , bool isOdd , int n ) {