且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

请查看我的教程

更新时间:2023-12-02 15:31:10

" Sathyaish" <六**************** @ yahoo.com>在消息中写道

news:7b ************************** @ posting.google.c om ...
"Sathyaish" <Vi****************@yahoo.com> wrote in message
news:7b**************************@posting.google.c om...
然而,在找到一个pallindrome时,所有的
字符都被视为相等。因此,空格,逗号,
或任何标点符号都应被视为任何其他
字符。
In finding a pallindrome, however, all the
characters were to be considered equal. Therefore, a space, a comma,
or any punctuation for that matter was to be treated like any other
character.




你能否澄清一下这部分?你的意思是只考虑字母字符{a..z},

忽略大小写,会被考虑进行比较吗?最终产品是否需要原始的非字母字符?



Could you clarify this part? Do you mean that only alphabetic characters {a..z},
ignoring case, will be considered for comparison? Does the end product require
the original non-alphabetical characters?


" AngleWyrm" &LT;无*************** @ hotmail.com&GT;在消息中写道

news:9Wphd.340850
"AngleWyrm" <no***************@hotmail.com> wrote in message
news:9Wphd.340850


3l3.21535@attbi_s03 ...
3l3.21535@attbi_s03...
" Sathyaish" &LT;六**************** @ yahoo.com&GT;在消息中写道
新闻:7b ************************** @ posting.google.c om ...
"Sathyaish" <Vi****************@yahoo.com> wrote in message
news:7b**************************@posting.google.c om...
然而,在找到一个pallindrome时,所有的
字符都被认为是平等的。因此,空格,逗号,
或任何标点符号都应被视为任何其他
字符。
In finding a pallindrome, however, all the
characters were to be considered equal. Therefore, a space, a comma,
or any punctuation for that matter was to be treated like any other
character.




字符串是ab!c AB; C 123cba吗?包含pallindromeabccba,如果是,

应该返回什么字符串?



Does the string "ab!c AB;C 123cba" contain the pallindrome "abccba", and if so,
what string should be returned?