SuffixTree: Don't save entire leaf nodes in advance()
All we need is the suffix indices. Just store those instead. Also improve code readability a little while we're here.
Loading
Please sign in to comment
All we need is the suffix indices. Just store those instead. Also improve code readability a little while we're here.