分别提取两个序列的公共前后缀然后拼接即可。
import java.util.*;
xj
本题属于以下题库,请选择所需题库进行购买
Scan the QR code below with WeChat to sign in
First-time scan will create your account automatically
请使用微信扫描下方二维码完成注册