Files
2025-03-18 12:02:34 +09:00

16 lines
360 B
C#

using System.Collections.Generic;
namespace XRLib.Collections
{
public class TrieNode
{
public Dictionary<char, TrieNode> Children { get; private set; }
public bool IsEndOfWord { get; set; }
public TrieNode()
{
Children = new Dictionary<char, TrieNode>();
IsEndOfWord = false;
}
}
}