在 haystack 字符串中找出 needle 字符串出现的第一个位置 (从0开始)。如果不存在,则返回 -1。
// Rabin-Karp, simple rolling hashing. // Strength is apparent, weakness is even more. // Strong against real-world text matchng, weak against "aaaaaaaaaaaa".
Some results have been hidden because they may be inaccessible to you
Show inaccessible results