Trees and Forests
Description: This quiz covers various concepts related to trees and forests in graph theory. | |
Number of Questions: 15 | |
Created by: Aliensbrain Bot | |
Tags: trees forests graph theory |
Which of the following statements is true about a tree?
What is the maximum number of edges in a tree with n vertices?
Which of the following is a forest?
What is the minimum number of edges in a forest with n vertices?
Which of the following algorithms can be used to find a minimum spanning tree of a weighted graph?
What is the time complexity of Kruskal's algorithm for finding a minimum spanning tree?
Which of the following is a property of a binary tree?
What is the maximum number of nodes in a complete binary tree of height h?
Which of the following is a traversal method for a binary tree?
What is the time complexity of inorder traversal of a binary tree?
Which of the following is a type of tree data structure?
What is the property of a binary search tree?
Which of the following is a type of forest data structure?
What is the property of a trie?
Which of the following is a type of tree decomposition?