Rotate image (square matrix) by 90 deg
Tue, 06 May 2025
A
\
B
or,
A / \ B CBoth having different number of nodes. The number of nodes will be minimum if the tree has exactly one node at each level. and it will be maximum if the tree is a Complete Binary Tree.
Minimum Number of Nodes in a Binary tree of height h = h
Maximum Number of Nodes in a Binary tree of height h = 2h-1
Tue, 06 May 2025
Tue, 06 May 2025
Tue, 06 May 2025
Leave a comment