public static void Verify(ISet <string> words, Dawg dawg) { var d = dawg.ToHashSet(); if (words.Count != d.Count || !words.IsSubsetOf(d)) {
public static void Verify(IEnumerable <string> words, Dawg dawg) => Verify(words.ToHashSet(), dawg);