Azienda coinvolta
Given a large string (haystack), find a substring (needle) on it.
Anonimo
The Knuth-Morris-Pratt algorithm does it in O(N+M), where N and M are the sizes of the two strings. However, it is quite hard to code from scratch.
Non lasciarti sfuggire opportunità e informazioni privilegiate seguendo le aziende dove vorresti lavorare.
Ricevi suggerimenti e aggiornamenti personalizzati avviando le tue ricerche.