639 Decode Ways II
639. Decode Ways II
1. Question
'A' -> 1
'B' -> 2
...
'Z' -> 26Input: "*"
Output: 9
Explanation:
The encoded message can be decoded to the string: "A", "B", "C", "D", "E", "F", "G", "H", "I".Input: "1*"
Output: 9 + 9 = 182. Implementation
3. Time & Space Complexity
Last updated