I've read the following statement and I cannot understand something within it "In all binary trees, there are at most 2^i nodes at level i + 1" what I cannot understand is that tree's levels start at level 0, however, if we apply what is written in this statement there will be no level 0 at all as it says level i + 1 which mean 0 + 1 = level 1, 1 + 1 = level 2, etc. So is this statement wrong?!!! or I am missing something?!!!
Amr.Mohammad87 6 Light Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
Amr.Mohammad87 6 Light Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
Amr.Mohammad87 6 Light Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
deceptikon 1,790 Code Sniper Team Colleague Featured Poster
Ben McNamara 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.