Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
输入:
strA = "ATATATGCGATAT" strB = "ATAT"
输出:
0 2 9
每次模式(strB)开始时,我都在寻找一种方法来查找字符串(strA)中的起始位置。