InterviewSolution
Saved Bookmarks
| 1. |
What is a time complexity for inserting an alphabet in the tree using hash maps?(a) O (log n!)(b) O (n!)(c) O (n^2)(d) O (1)The origin of the question is Suffix tree topic in chapter Trie of Data Structures & Algorithms IThis question was addressed to me during an interview. |
|
Answer» The correct choice is (d) O (1) |
|