ExamVeda
Login
Home
61
What is a time complexity for inserting an alphabet in the tree using hash maps?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
62
What is the time complexity of Uttkonen's algorithm?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
63
Which tree allows fast implementation of a set of string operation?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
64
What is a time complexity for finding the total length of all string on all edges of a tree?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
65
Who among the following algorithm is used in external memory and compression of the suffix tree?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
66
A B+ tree can contain a maximum of 7 pointers in a node. What is the minimum number of keys in leaves?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
67
Which of the following special type of trie is used for fast searching of the full texts?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
68
For what size of nodes, the worst case of usage of space in suffix tree seen?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
69
Following code snippet is the function to insert a string in a trie. Find the missing line.
private void insert(String str)
    {
        TrieNode node = root;
        for (int i = 0; i < length; i++)
        {
            int index = key.charAt(i) - 'a';
            if (node.children[index] == null)
                node.children[index] = new TrieNode();
 
            ________________________
        }
 
        node.isEndOfWord = true;
    }
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
70
Which of the following is false?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board