陈豪佘诗曼吃人:帮我做个题 谢谢了

来源:百度文库 编辑:中科新闻网 时间:2024/05/10 07:53:32
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.

是要翻译吗?