Function ADS::countDecodings

Function Documentation

inline std::uint64_t ADS::countDecodings(const std::vector<int> &digits)

the number of readings of the digits as letters A = 1, …, Z = 26, modulo 2^64; 1 for no digits

Pre:

every digit in 0 .. 9