Memoization based recursive function to count numbers with even and odd digit sum difference as 1. This function considers leading zero as a digit
def countRec ( digits , esum , osum , isOdd , n ) : NEW_LINE