I need to find repeated sequences within a vector.
I have been thinking about using search, as is described here. But this uses an array to search, I don't need to use extra memory, as I am seaching for sequences within the same vector.
Any suggestions on how to do this? Perhaps there is an easier methode than search?