Quora, Inc. Interview Question

string search (KMP algorithm etc...)