//1.递归版本 public int solve1 (String nums) { return process(nums.toCharArray(),0,nums.length()); } //返回从[idx...len)可能的译码结果 public int process(char[] chars,int idx,int N){ if(idx==N) return 1; if(chars[idx]=='0') return 0; int cur = 0; int res = 0...