Most Frequent Phrase in Passage
Anonymous User
290

I came across this question in an interview and was unable to solve it. Any ideas on how to implement?

Find the longest and most frequently occuring phrase in a passage. A phrase has to be at least two words long and punctuation does not count towards the phrase. I was thinking a suffix array or suffix tree.

Comments (1)