May 20, 2009

There are two sentences. Find the common words in the two sentences.

There are two sentences. Find the common words in the two sentences.

using suffix trees or suffix array based on words (find common sub-sentences )
use hash table
sort two sentences and merge

No comments:

Post a Comment