求大佬给出详细解题步骤。
收起
https://www.ruanyifeng.com/blog/2013/05/Knuth%E2%80%93Morris%E2%80%93Pratt_algorithm.html
报告相同问题?