interview-go icon indicating copy to clipboard operation
interview-go copied to clipboard

判断字符串中字符是否全都不同为什么有个127的判断?

Open zhuangdx opened this issue 2 years ago • 0 comments

第二题中也没有限定字符串是从键盘输入的,为什么有127的判断呢? targetstr := "" for i := 0; i < 256; i++ { targetstr += string(i) }

zhuangdx avatar Feb 24 '23 09:02 zhuangdx