Decode Ways

Preview

Your are given a string s containing only digits. Write a function to return the number of ways to decode using the following mapping:

Sign in to read the full chapter.

Checking access…