Topic: Dynamic Programming Problem / Level: beginner

Problem: Compute the number of ways to decode a string of digits where each digit can be mapped to letters (e.g., 1 = A, 2 = B).

Run the code to see the output here...