Frage im Vorstellungsgespräch bei Mendix

whether source string contains pattern string?

Antwort im Vorstellungsgespräch

Anonym

8. Feb. 2020

Gave Rabin-karp implementation. I told him the only issue with it is there might be lot of collision if the rolling hash fucntion doesn't distributes the hash value. So there might be a performance impact, but the algorithm itself will never return incorrect result.

Frage im Vorstellungsgespräch bei Mendix: whether source string contains pattern string? | Glassdoor