I would like to know if implementing the trie using a Node struct(class) is considered a good way of implementing it in competitive programming.
I saw that some programmers use a multidimensional array to implement it which seems a bit confusing.
Thanks