C Would Write Following Class Pass Given Test Case Wordfind Class Class Responsible Findin Q37268870

In c++ how would I write the following class to pass the giventest case?

The WordFind Class

C) WordFind o Dictionary dictionary void AppendDFSwords(GameBoard g. WordFind) std:: string stri n g Prefix std: set<std:: st

This class is responsible for finding all possible words thatthe player could guess from the board and storing them in a set. Inaddition to the constructor, this class should have the followingmethods:

  • GetAllWords(GameBoard g)
    • Responsible for setting up the arguments to call the recursivebacktracking helper function that finds all possible words. Hint:you can call the recursive helper function 16 times, once for eachstarting location.
  • AppendDFSWords(GameBoard g, std::string stringPrefix,std::set<std::string>&
    OR
    OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.