adplus-dvertising
frame-decoration

Question

If a node in a BST has two children, then its inorder predecessor has

a.

no left child

b.

no right child

c.

two children

d.

no child

Answer: (b).no right child

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. If a node in a BST has two children, then its inorder predecessor has

Similar Questions

Discover Related MCQs

Q. A binary tree in which if all its levels except possibly the last, have the maximum number of nodes and all the nodes at the last level appear as far left as possible, is known as

Q. A full binary tree with n leaves contains

Q. The number of different directed trees with 3 nodes are

Q. One can convert a binary tree into its mirror image by traversing it in

Q. A B-tree of minimum degree t can maximum _____ pointers in a node.

Q. A BST is traversed in the following order recursively: Right, root, left. The output sequence will be in

Q. The pre-order and post order traversal of a Binary Tree generates the same output. The tree can have maximum

Q. A binary tree of depth ā€œdā€ is an almost complete binary tree if

Q. What is the maximum possible number of nodes in a binary tree at level 6?

Q. How many nodes in a tree have no ancestors.

Q. In order to get the contents of a Binary search tree in ascending order, one has to traverse it in

Q. In order to get the information stored in a Binary Search Tree in the descending order, one should traverse it in which of the following order?

Q. A __________is a non-linear data structure representing the hierarchical structure of one or more elements known as nodes.

Q. Each node of a tree stores a data value and has zero or more pointers pointing to the other nodes of the tree, which are also known as its__________.

Q. The node at the top of a tree is known as the ________of the tree.

Q. Internal nodes have___________.

Q. Which concept is useful while writing programming code for implementing various operations on trees?

Q. A binary tree is a special type of tree, which can either be empty or have a finite set of nodes, such that, one of the nodes is designated as the root node and the remaining nodes are partitioned into sub trees of the root nodes known as__________.

Q. Unlike a general tree, each node in a binary tree is restricted to have at the most __________child nodes only.

Q. A binary tree is a ________data structure; each node belongs to a particular level number.