PREV INDEX NEXT

Author: Stan Eisenstat
Subject: Re: [Cs223] Can Boggle words be prefix for other words?
Date: Thursday, 23 Apr 2020, 07:36:52


    > Message Posted By: Unknown
    >
    > Do we have to account for cases where a word is a prefix for another word?
    > (e.g: "test" and "tester" in the trie)

Yes, as you can verify by running Hwk6/Boggle:

  % cat z
  test
  tester
  % /c/cs223/Hwk6/Boggle 3 3 tesabtcre < z
  test: 2
  tester: 2

--Stan-
PREV INDEX NEXT