I am trying to understand Double-Array Trie implementation from http://linux.thai.net/~thep/datrie/datrie.html
But I do not understand following part.
check[base[s] + c] = s
base[s] + c = t
What does adding c means here.
Can anybody explain algorithm in simple language.
Imagine you collaps a 2D array into a 1D array:
I hope I didn’t make this too complicated (even though I think I did…). 🙂