摘要: Substring时间限制:1000 ms | 内存限制:65535 KB难度:1描述You are given a string input. You are to find the longest substring of input such that the reversal of the substring is also a substring of input. In case of a tie, return the string that occurs earliest in input.Note well: The substring and its reversal ma 阅读全文
posted @ 2012-06-12 13:44 加拿大小哥哥 阅读(250) 评论(0) 推荐(0)