Semantic Analysis19

0. Which one of the following is the tightest upper bound that represents the time complexity of inserting an object into a binary search tree of n nodes?

  • Option : C
  • Explanation :
    For skewed binary search tree on n nodes, the tightest upper bound to insert a node is O(n)
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *