_FireGhost_'s blog

By _FireGhost_, history, 3 years ago, In English

Recently, I've learned a powerful data structure: Suffix Automaton, and found out that it can solve lots of problems that can be solved with KMP/Z Function/Hash/... in average time complexity $$$O(n)$$$.

Now I'm curious to know, what are the pros/cons of this data structure? And is there any problems that can't be solved with Suffix Automaton but able to solve with others data structure? Thank you in advance!

(for people who doesn't know this data structure: Link 1, Link 2)

  • Vote: I like it
  • +18
  • Vote: I do not like it

»
3 years ago, # |
  Vote: I like it 0 Vote: I do not like it

eertree returned to the chat