Arrays on Data Structure and Algorithms related Questions and Answers - Page 4

Question 31 : What is the time complexity for inserting/deleting at the beginning of the array?
1. O(1)
2. O(n)
3. O(logn)
4. O(nlogn)
View Answer   Discuss with Members

Question 32 : What is the time required to locate the occurrences of a pattern P of length m in a string of length n using suffix array?
1. O(nm)
2. O(n2)
3. O(mnlogn)
4. O(mlogn)
View Answer   Discuss with Members

Question 33 : In what type of dynamic array do you divide the array into two parts?
1. Hashed Array Tree
2. Geometric Array
3. Bounded-size dynamic array
4. None of the mentioned
View Answer   Discuss with Members

Question 34 : LCP array and ______ is used to construct suffix tree.
1. Hash tree
2. Hash trie
3. Suffix array
4. Balanced tree
View Answer   Discuss with Members

Question 35 : Suffix array can be created by performing __________ traversal of a suffix tree.
1. breadth-first
2. level order
3. depth-first
4. either breadth-first or level order
View Answer   Discuss with Members

Question 37 : Which of the following bitwise operations will you use to set a particular bit to 1?
1. OR
2. AND
3. XOR
4. NOR
View Answer   Discuss with Members


View 31 - 40 of 56 Questions

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter