编写一个函数来查找字符串数组中的最长公共后缀:
如果不存在公共后缀,返回固定字符串: @Zero@Zero@Zero。
补充说明: 1.字符串长度范围:[2,10002,10002,1000] 2.字符串中字符取值范围为[1,1261,1261,126]
无
输入
["abc","bbc","c"]
输出
c
说明
返回公共后缀:c
["aaa","bb","cc"]
@Zero
不存在公共后缀,返回固定结果:@Zero@Zero@Zero
本题属于以下题库,请选择所需题库进行购买
ScanQRCodePrompt
GoToPasswordLoginPrompt