If the depth of a tree is 3 levels, then what is the size of the Tree ?
A. 2
B. 4
C. 6
D. 8
Answer : D. 8
Explanation :
- You calculate the size of a tree by using the following formula: size = 2 depth
- If the depth is 3 levels, then the size of tree is 2 3 = 8
Categorized in:
Tagged in:
Accenture interview questions and answers, Altimetrik India Pvt Ltd interview questions and answers, AMCAT Previous Papers with Solutions, Applied Materials interview questions and answers, Bharti Airtel interview questions and answers, binary tree height, BMC Software interview questions and answers, calculate depth of a full binary tree from preorder, Capgemini interview questions and answers, CASTING NETWORKS INDIA PVT LIMITED interview questions and answers, CGI Group Inc interview questions and answers, Chetu interview questions and answers, Ciena Corporation interview questions and answers, Collabera Te interview questions and answers, complete binary tree height 4, define height of a binary tree, degree of tree in data structure, Dell International Services India Pvt Ltd interview questions and answers, depth of binary tree, depth of binary tree formula, depth of binary tree with n nodes, depth of complete binary tree, depth of complete binary tree in log, depth of complete binary tree is given by, depth of complete binary tree with n nodes in log, find depth of binary tree java, find height of binary tree c++, Flipkart interview questions and answers, Genpact interview questions and answers, Globallogic India Pvt Ltd interview questions and answers, height of a binary tree formula, height of a tree, height of a tree formula, height of complete binary tree, how to calculate depth of complete binary tree with n nodes, how to find depth of binary tree, how to find height of binary tree, IBM interview questions and answers, if a binary tree has 10 nodes then what is the height of the tree, Indecomm Global Services interview questions and answers, maximum depth of binary tree python, maximum height of binary tree, minimum depth of binary tree, Mphasis interview questions and answers, NetApp interview questions and answers, Oracle Corporation interview questions and answers, SAP Labs India Pvt Ltd interview questions and answers, Sapient Consulting Pvt Ltd interview questions and answers, Tech Mahindra interview questions and answers, Tracxn Technologies Pvt Ltd interview questions and answers, UnitedHealth Group interview questions and answers, Wipro Infotech interview questions and answers, WM Global Technology Services India Pvt.Ltd Limited (WMGTS) interview questions and answers, Xoriant Solutions Pvt Ltd interview questions and answers, Yodlee Infotech Pvt Ltd interview questions and answers