Pergunta de entrevista da empresa Meta

Regular expression and strStr. I was not able to give KMP algorithm to strStr

Respostas da entrevista

Sigiloso

7 de mai. de 2014

So no offer coz of one KMP search?

Sigiloso

7 de mai. de 2014

To Peter: No. After the onsite, I was given an extra interview about culture fit. So I guess I didn't satisfy the interviewer in the culture fit round, not the technical round. I felt I was doing well in the extra interview. But I didn't get the offer. The recruiter didn't give me feedback about why I didn't get the offer.

Sigiloso

7 de mai. de 2014

Thanks S Sven. Your feedback is really appreciated. Thanks for taking out time to reply.

Sigiloso

5 de jun. de 2014

KMP is pretty hard to remember, why didn't you try to go with Rabin-Karp or Boyer-Moore?

Sigiloso

8 de jun. de 2014

For the regular expression question, what is your solution? There seems to be at least two solutions. One is based on dynamic programming, and the other based on non-determinstic automata. I'm not quite sure which sotluion is better to take at the interview.