Commit Leetcode: Decode Ways: DP both in Linear Space and Constant Space.