【譯】後綴樹快速字串搜尋
• Suffix Tree, Trie, Algorithm
這篇筆記、翻譯自博文:Fast String Searching With Suffix Trees,作者Mark Nelson。尊重他人勞動果實,轉載請註明!
I think that I shall never see
A poem lovely as a tree.
Poems are made by fools like me,
But only God can make a tree.–Joyce Kilmer
A tree’s a tree. How many more do you need to look at?
–Ronald Reagan-
字串序列匹配是電腦程式設計師經常需要面對的問題。一些編程任務,例如數據壓縮或DNA測序,可以從字串匹配演算法的改進中獲益匪淺。本文探討了一種相對未知的數據結構,即後綴樹,並展示如何使用它的特性着手解决字串匹配的難題。