What Is The Condition For A Tree To Be Weight Balanced Where A #641
What is the condition for a tree to be weight balanced. where a is factor and n is a node?
This multiple choice question (MCQ) is related to the book/course gs gs121 Data Structures and Algorithms. It can also be found in gs gs121 Binary Trees - Weight Balanced Tree - Quiz No.1.
What is the condition for a tree to be weight balanced. where a is factor and n is a node?
weight[n.left] >= a*weight[n] and weight[n.right] >= a*weight[n].
weight[n.left] >= a*weight[n.right] and weight[n.right] >= a*weight[n].
weight[n.left] >= a*weight[n.left] and weight[n.right] >= a*weight[n].
weight[n] is a non zero
Similar question(s) are as followings:
Online Quizzes of gs121 Data Structures and Algorithms
Binary Trees - Binary Search Tree - Quiz No.1
gs gs121 Data Structures and Algorithms
Online Quizzes
Binary Trees - Binary Search Tree - Quiz No.2
gs gs121 Data Structures and Algorithms
Online Quizzes
Binary Trees - Preorder Traversal - Quiz No.1
gs gs121 Data Structures and Algorithms
Online Quizzes