rewrite leetcode decode ways