Explain what is the maximum number of nodes in a binary tree of height k?

Category: Data StructureExplain what is the maximum number of nodes in a binary tree of height k?
1 Answers
Editor">Editor Staff answered 2 years ago

2k+1-1 where k >= 1