InterviewSolution
Saved Bookmarks
| 1. |
What is a time complexity for x pattern occurrence of length n?(a) O (log n!)(b) Ɵ (n!)(c) O (n^2)(d) Ɵ (n + x)I want to ask this question from Suffix tree topic in portion Trie of Data Structures & Algorithms II have been asked this question in an online quiz. |
|
Answer» The correct option is (d) Ɵ (n + x) |
|