Introduction
Imagine you want to quickly find if a small piece of text appears inside a large book. Searching every page one by one is slow. Suffix trees help solve this by organizing all possible endings of the text so you can find matches instantly.