Pergunta de entrevista da empresa Pocket Gems

STRSTR

Resposta da entrevista

Sigiloso

4 de ago. de 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.