实例:
输入:12344356
输出:3443
'''
中心扩散法
'''
class demo():
def func1(self,string):
#记录回文串的起始位置
start = 0
#记录回文串的终止位置
end = 0
for i
实例:
输入:12344356
输出:3443
'''
中心扩散法
'''
class demo():
def func1(self,string):
#记录回文串的起始位置
start = 0
#记录回文串的终止位置
end = 0
for i