Such as I get a string is abc1 then after transformation to become cce2
Could you tell me how to implement should be under?
CodePudding user response:
Do a array mapping, such as [a-z], [0-9] corresponding out two maps [odd], [even], and then according to the odd and even find the array subscript, go directly to the corresponding mapping to the arrayCodePudding user response:
Converted to ASCII, cycle of judgment, and then computingIntuitive way