Competitive-Coding icon indicating copy to clipboard operation
Competitive-Coding copied to clipboard

Templates for Data Structures and Algorithms, written in C, C++ & Python, for Competitive programming competitions

Results Competitive-Coding issues
Sort by recently updated
recently updated
newest added

I ran the kmp function on the following strings- p="wa" and t="swapwap" The function returned 3 and 6 as positions but according to 0-based indexing as mentioned, it should return...