#105 Medium Time O(n) Space O(n) Animated

Decode Ways

Count ways to decode a string of digits to letters.

LeetCode ↗
Approach: Dynamic Programming (1D)
Click play to start
Step 0 / 0
Press play to start the visualization.

Steps