public void PerformOp(Lab14_Trie trie)
 {
     foreach (string w in _words)
     {
         _result.Add(trie.Remove(w));
     }
 }
 public void PerformOp(Lab14_Trie trie)
 {
     foreach (var w in _words)
     {
         _result.Add(trie.AddWord(w));
     }
 }
 public void PerformOp(Lab14_Trie trie)
 {
     _result = trie.CountPrefix(_prefix);
 }
 public void PerformOp(Lab14_Trie trie)
 {
     _result = trie.AllWords(_prefix)?.ToList();
 }