This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <bits/stdc++.h> | |
#define ALPHABET_SIZE 27 | |
using namespace std; | |
class TrieNode | |
{ | |
public: TrieNode* children[ALPHABET_SIZE]; | |
public: int qntChild; | |
public: bool endWord; |