问题 填空题

在深度为7的满二叉树中,度为2的结点个数为 【1】

答案

参考答案:63或26-1

解析:
在满二叉树中,每层结点都是满的,即每层结点都具有最大结点数。深度为k的满二叉树,一共有2的k次方-1个结点,其中包括度为2的结点和叶子结点。因此,深度为 7的满二叉树,一共有27-1个结点,即127个结点。根据二叉树的另一条性质,对任意一棵二叉树,若终端结点(即叶子结点)数为n0,而其度数为2的结点数为n2,则n0=n2+1。设深度为7的满二叉树中,度为2的结点个数为x,则改树中叶子结点的个数为x+l。则应满足x+(x+1)=127,解该方程得到, x的值为63。结果上述分析可知,在深度为7的满二叉树中,度为2的结点个数为63。

单项选择题
填空题


Health officials in western Siberia are to begin in slaughter of thousands of birds today after identifying Russia’s first outbreak of a bird flu strain that can be fatal in humans. Doctors in neighboring Kazakhstan have also (1) that a 19-year-old poultry worker (2) admitted to hospital with (3) of bird flu, only to be diagnosed (4) double pneumonia.
The H5N1 strain of avian (5) has killed 60 people (6) 2fib in Vietnam, Thailand, Cambodia and Indonesia, but has rarely been found in birds or humans (7) Asia.
Health officials (8) that HSN1 is infecting migrating birds, which could spread the (9) into Europe. Earlier this year China registered the first outbreak of H5N1 (10) wild birds, some of which (11) to breeding grounds in Siberia. These birds could come (12) contact with others flying to Europe and North America.
Russia’s (13) began in the Novosibirsk (14) , about 1,750 miles (15) of Moscow in the Asian part of Russia, early last month, but the veterinary service (16) the virus only last week. Valery Mikheyev, the chief sanitary doctor of Novosibirsk, said that teams had been (17) the (18) birds and supervising the slaughter in13 (19) villages. He said, "The state of (20) of the inhabitants of these areas gives (21) cause for alarm. Up to 6,000 people are being (22) per day.
The virus seems to have (23) only private farms that let (24) mix with wild birds. Further outbreaks were registered in the Omsk and Altai regions, but the strain had (25) to be determined, Russia’s Emergency Situations Ministry said.