Oleg Batrashev a écrit : > This means that if you have 10 sentences with 5 words in each there is > 5^10 space and time complexity. Definitelly, there are better > algorithms from dynamic programming, but you should review your needs: > how many sentences, words you have. it can be few to many, actually it depends of the words i'm looking for.