李锡涛痛风:帮我做个题 谢谢了

来源:百度文库 编辑:杭州交通信息网 时间:2024/05/09 00:05:21
Given a string with arbitrary length, write a program that picks up the
longest repeated pattern from the string. e.g. if a string is
"abc3241abc8979", the wanted pattern will be "abc". You may explain the
algorithm you will be using and why you use it. And describe the test
data and
example you will use to test your program.

是要翻译吗?