DP. Similar to problem Decode Ways on LeetCode...