using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections;
namespace Trie
{
public class TrieNode
{
public string RemainingKey = "";
public string Value = null;
public TrieNode[] Children = null;
public ArrayList Grammar ;
//Constructor
public TrieNode() {
Grammar = new ArrayList(); //HashTable or Joggle Array.
Grammar.AddRange(new string[] {"ะ", "า", "อิ", "เ", "หี"});
}
// Add a value to this node's subtrie.
public void AddValue(string newKey, string newValue)
{
int idx = 0;
}
// Find a value in this node's subtrie.
public string FindValue(string targetKey)
{
}
//*******Continue.
}
}