Which tree structure is specifically designed for string pattern matching?
15 views
- AVL Tree
- Binary Tree
- Suffix Tree (Correct Answer)
- B-Tree
Explanation
Suffix trees store all suffixes of a string, enabling fast pattern matching operations in linear time. They are widely used in bioinformatics and text processing applications.