✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
Tries and suffix trees
For a string of length n, how many nodes does the suffix TRIE have in the worst case, and how many does the compressed suffix TREE have?