Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Main Memory Database Systems

Authors: Frans Faerber, Alfons Kemper, Per-Åke Alfons

1st Edition

ISBN: 1680833243, 978-1680833249

More Books

Students also viewed these Databases questions