using System.Collections.Generic;
public static void Main()
Console.WriteLine("Hello World");
private Node head = new Node();
public void Insert(string s)
if (!curr.nodes.TryGetValue(c, out next))
curr.nodes.Add(c, next = new Node());
public Dictionary<char, Node> nodes = new Dictionary<char, Node>();
public bool IsLeaf { get { return nodes.Count == 0; } }
public string StringValue;