πŸ“Š Data Structure (DS)
Q. Which of the following is incorrect with respect to binary trees?
  • (A) Let T be a binary tree. For every k ≥ 0, there are no more than 2k nodes in level k
  • (B) Let T be a binary tree with λ levels. Then T has no more than 2λ – 1 nodes
  • (C) Let T be a binary tree with N nodes. Then the number of levels is at least ceil(log (N + 1))
  • (D) Let T be a binary tree with N nodes. Then the number of levels is at least floor(log (N + 1))
πŸ’¬ Discuss
βœ… Correct Answer: (D) Let T be a binary tree with N nodes. Then the number of levels is at least floor(log (N + 1))

You must be Logged in to update hint/solution

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
505
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
95%
Success Rate