Sollicitatievraag bij Pocket Gems

STRSTR

Antwoord op sollicitatievraag

Anoniem

4 aug 2015

brute force search the character. Simple version Scan A and Scan B, compare each chars in A try to find match B. This will cost O(M*N) which is bad.