Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

true and false: N 1.5 is O( N log N ). 1.01 N is O( N 1000 ). 1/ N is O(log N ). log

true and false:

  1. N1.5 is O(N log N).
  2. 1.01N is O(N1000).
  3. 1/N is O(log N).
  4. log N is O(N).
  5. N + N is O(N log N).
  6. In a binary tree every node must have at least one child node. False
  7. The Binary Search Tree is always a balanced tree. False
  8. The number of leaf nodes and internal nodes in a binary tree can never be equal.
  9. The Postorder traversal of a binary search tree (BST) outputs the key values in nonincreasing order.
  10. In an expression tree, the operators could be at the leaf nodes.
  11. The deletion of a key in a BST has a higher time complexity than key search.
  12. A binary search tree (BST) has to be a complete binary tree.
  13. If a node in a BST has two children, then its Inorder successor has no left child.
  14. An array that is in sorted order is a Min-heap.
  15. The array representation of a Min-heap is always sorted.
  16. In a Btree, the lengths of the paths from the root to all leaf nodes may be different.
  17. In a Btree, deletion of a key will never alter the height of the tree.
  18. The complexity of key insertion in a B tree is higher than that of deletion.
  19. In an AVL tree, the longest and the shortest paths (number of edges) from the root to a leaf do not differ by more than 1.
  20. In an AVL tree, rotations may not maintain the Inorder ordering of keys.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Visual C# And Databases

Authors: Philip Conrod, Lou Tylee

16th Edition

1951077083, 978-1951077082

More Books

Students also viewed these Databases questions

Question

3 How the market system answers four fundamental questions.

Answered: 1 week ago

Question

5 The mechanics of the circular flow model.

Answered: 1 week ago

Question

1 The difference between a command system and a market system.

Answered: 1 week ago