As I think we mentioned during the review, this approach is not very efficient since it has to perform roughly N<sup>2</sup> iterations, where N is the number of words. It's possible to do this in one "pass" -- check the [example solution](https://github.com/ga-wdi-boston/wdi_1_ruby_hw_word_methods/blob/solution/analysis.rb).