Question: Stage and commit your solution with git add lib/fun_with_strings.rb git commit -n Lab 9: Fun With Words - count words Question 3 2 pts Remove
Stage and commit your solution with git add lib/fun_with_strings.rb git commit -n "Lab 9: Fun With Words - count words" Question 3 2 pts Remove the, :disabled->true from the 'anagram grouping' collection in the spec/fun with strings_spec.rb file. Don't forget to save your changes! An anagram group is a group of words such that any one can be converted into any other just by rearranging the letters. For example, "rats. "tars and "star are an anagram group. Given a space separated list of words in a single string, write a method called 'anagram groups' that groups these words into anagram groups and returns a nested array of those groups (an array of arrays). Hint: Look at the spec file to see what kind of return value is expected Notes: . Case doesn't matter in classifying string as anagrams (but case should be preserved in the output) . The order of the anagrams in the groups doesn't matter. Run rspec in the terminal window to test. Once everything is passing, upload your screenshot to this question. Upload Choose a File
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
