My current code size is 74 (where alphabetical characters only a-z,A-Z).
size = 74
ClassMethod Encode(m) As %String
{
f j=65,97{f i=0:1:25 s m=$tr(m,$c(j+i),i#2)} q $re($e(m,1,*-1))_$e(m,*)
}"Hello World µÝ Привет Мир!" -> "риМ тевирП Ýµ 11100 01101!"
PS: why is the correct result in the testNumbers method 321 and not 213?
- Log in to post comments


