algorithms icon indicating copy to clipboard operation
algorithms copied to clipboard

Add all_indices option to kmp

Open GarrisonJ opened this issue 2 years ago • 0 comments

Finding all the pattern indices using this KMP algorithm would be super helpful. I added the functionality behind the all_indices flag in the kmp_search method, so this change should be backward compatible.

Let me know if there are any changes you would prefer to make this more likely to be merged. Thanks!

GarrisonJ avatar Jan 18 '24 01:01 GarrisonJ