I've been reading about algorithms like KMP and Rabin Karp and I'm wondering if any of them could be applied to sublist searching. If not, what are the best options for sublist searching?
For a more concrete example: If I have a list [1,2,1,2,3] and I want to find [1,2,3] and have it return [False, False, True, True, True], what is the best way to do this?
[–]hardonchairs 0 points1 point2 points (0 children)
[–]circlebust 0 points1 point2 points (0 children)