PREV INDEX NEXT

Author: Stan Eisenstat
Subject: Re: [Cs223] -c flag
Date: Thursday, 23 Apr 2020, 07:17:12


    > Message Posted By: Unknown
    >
    > Since we only store words in the dictionary in the trie, do we store the
    > non-dictionary words that need in some array? or are we supposed to print
    > it as we go?

What "non-dictionary words"?

As stated in the specification:

  A word is a BOGGLE WORD if its letters can be spelled out by starting at
  one square on the board and passing through a sequence of squares that is
  connected horizontally, vertically, or diagonally.  That is, you cannot skip
  intervening squares or remain on the same square to get the next letter.
  ...
  The BOGGLE WORDS FOUND are printed out in alphabetical order, in lower case,
  along with the number of times that they appear, using the format "%s: %d\n".
  ...
  With the -c flag all (and only) the NON-BOGGLE WORDS IN THE DICTIONARY are
  printed in alphabetical order using the format "%s\n".

(emphasis added).

--Stan-
PREV INDEX NEXT