Vidyalelo
Data Structure · all questions

Advanced Trees (AVL, RedBlack, BTrees)
practice.

Practice every MCQ with options. Use Show answers when you want the correct option and solution.

110

Questions

3/6

Page

Pick an option on a question to see the right answer and solution.

What is a key advantage of using a Red-Black tree over a standard Binary Search Tree?

Select an option to see the answer and solution.

In an AVL tree, what happens when a node has a balance factor of 0?

Select an option to see the answer and solution.

How is a B-Tree node typically structured?

Select an option to see the answer and solution.

Which of the following is true for Red-Black trees?

Select an option to see the answer and solution.

What is the maximum number of keys that a B+ -tree of order 3 and of height 3 have?

Select an option to see the answer and solution.

Can suffix tree be used in bioinformatics problems and solutions.

Select an option to see the answer and solution.

Which one of the following data structures are preferred in database-system implementation?

Select an option to see the answer and solution.

What is a time complexity for x pattern occurrence of length n?

Select an option to see the answer and solution.

How much time does construction of suffix tree take?

Select an option to see the answer and solution.

Which statement is correct of suffix tree with a string of length n?

Select an option to see the answer and solution.

Who among the following provided the first suffix tree contribution for all alphabet?

Select an option to see the answer and solution.

Which tree allows fast implementation of string operation?

Select an option to see the answer and solution.

Trie is also known as . . . . . . . .

Select an option to see the answer and solution.

What is a time complexity for finding the longest prefix that is common between suffix in a string?

Select an option to see the answer and solution.

Which of the following is true about the trie?

Select an option to see the answer and solution.

Which of the following is the efficient data structure for searching words in dictionaries?

Select an option to see the answer and solution.

A B-tree of order 4 and of height 3 will have a maximum of . . . . . . . . keys.

Select an option to see the answer and solution.

Which of the following data structure can provide efficient searching of the elements?

Select an option to see the answer and solution.

A program to search a contact from phone directory can be implemented efficiently using . . . . . . . .

Select an option to see the answer and solution.

What traversal over trie gives the lexicographical sorting of the set of the strings?

Select an option to see the answer and solution.