單項(xiàng)選擇題一個(gè)高度為h的滿二叉樹(shù)共有n個(gè)結(jié)點(diǎn),其中有m個(gè)葉子結(jié)點(diǎn),則有()成立。

A.n=h+m
B.h+m=2n
C.m=h-1
D.n=2m-1


您可能感興趣的試卷