Exam 19: Binary Trees

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

What does these terms refer to: - \gg Parent:

Free
(Short Answer)
4.9/5
(42)
Correct Answer:
Verified

for U and V, two nodes in the binary tree T, U is called the parent of V if there is a branch from U to V

A shallow copy tree has the same number of nodes as the original binary tree.

Free
(True/False)
4.8/5
(33)
Correct Answer:
Verified

False

What does these terms refer to: - \gg Path:

Free
(Short Answer)
4.8/5
(37)
Correct Answer:
Verified

a path from a node X to a node Y in a binary tree is a sequence of nodes X0, X1, . . ., Xn such that: (i) X = X0, Xn = Y, (ii) Xi-1 is the parent of Xi for all i = 1, 2, . . ., n; that is, there is a branch from X0 to X1, X1 to X2, . . ., Xi-1 to Xi, . . ., Xn-1 to Xn. If X0, X1, . . ., Xn is a path from node X to node Y, sometimes it is denoted by X = X0 - X1 - … - Xn-1 - Xn = Y or simply X - X1 - … - Xn-1 - Y

What does these terms refer to: - \gg Inorder sequence:

(Short Answer)
4.9/5
(40)

What does these terms refer to: - \gg Binary tree:

(Short Answer)
4.8/5
(48)

What does these terms refer to: - \gg Right subtree:

(Short Answer)
4.8/5
(34)

Each node in a binary tree can have at most ____________________ link(s).

(Short Answer)
4.7/5
(35)

What does these terms refer to: - \gg Postorder sequence:

(Short Answer)
4.9/5
(38)

Define a directed branch.

(Short Answer)
4.8/5
(35)

Explain the difference between a binary tree and a binary search tree.

(Short Answer)
4.8/5
(38)

What are the three primary steps in the preorder traversal algorithm?

(Short Answer)
4.7/5
(36)

What does these terms refer to: - \gg Level:

(Short Answer)
4.8/5
(35)

What does these terms refer to: - \gg Breadth first traversal:

(Short Answer)
4.9/5
(30)

What does these terms refer to: - \gg Level-by-level:

(Short Answer)
4.9/5
(43)

What does these terms refer to: - \gg Leaf:

(Short Answer)
4.8/5
(45)

What does these terms refer to: - \gg Length:

(Short Answer)
4.7/5
(35)

What does these terms refer to: - \gg Branch:

(Short Answer)
4.9/5
(43)

What does these terms refer to: - \gg Preorder sequence:

(Short Answer)
5.0/5
(38)

What does these terms refer to: - \gg AVL-tree:

(Short Answer)
4.9/5
(31)

What does these terms refer to: - \gg Left child:

(Short Answer)
4.8/5
(38)
Showing 1 - 20 of 26
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)