问题
单项选择题
设二叉树中有3个叶子结点,有8个度为1的结点,则该二叉树中总的结点数为( )。
A.12
B.13
C.14
D.15
答案
参考答案:B
解析: 一棵二叉树中有3个叶子结点,则度为2的结点有3-1=2,总结点数为叶子结点数、度为1的结点数和度为2的结点数之和。即3+8+2=13。
设二叉树中有3个叶子结点,有8个度为1的结点,则该二叉树中总的结点数为( )。
A.12
B.13
C.14
D.15
参考答案:B
解析: 一棵二叉树中有3个叶子结点,则度为2的结点有3-1=2,总结点数为叶子结点数、度为1的结点数和度为2的结点数之和。即3+8+2=13。
“USA? Britain? Which country is better to study in?” We often hear such discussions. As China open its door, it is a dream for many Chinese students to study abroad. They want to learn about the outside world. It’s true that studying abroad can help students develop themselves. Their foreign language skills will be improved and it may be easier to find jobs. But there are problems that should be considered. Language is the first. Students must spend a lot of time learning another language. Students must also learn to live without parents’ care and deal with all kinds of things they haven’t to do before, like looking after themselves. There are reports about Chineses students abroad running into an ocean of difficulties and giving up finally. When they have to take care of themselves, it is hard for students to study well. Finally, studying abroad brings a heavy burden to the family. For most Chinese parents, the cost of studying abroad is very high. But is it worth it? We know that there are many famous people who have achieved success through their hard work in China. Liu Xiang is a good example. Once an American teacher invited him there, but he refused. He kept training hard with his Chinese teacher. He surprised the world when he won a gold medal at the Athens Olympic Games. So when you winder which country is better to study in, think it again.
|