What algorithm would you use to find short substrings in short texts? In short, I mean 5-10 characters for a substring and 255 for a string. I am thinking about choosing an algorithm depending on the length of the input. Which algorithm is best suited for longer inputs?
anon
source
share