Lesson 4 - Advance Data Structures

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/13

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 2:53 PM on 10/11/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

14 Terms

1
New cards

tree

a nonlinear hierarchical data structure that consists of nodes connected by edges.

2
New cards

Root

Trees consists of nodes, where the topmost node is called the what?

3
New cards

child node

In a tree, every other node can have one or more what?

4
New cards

Root node

The topmost node in a tree, which does not have a parent. There is only one root node

5
New cards

Parent node

A node which has a branch from it to any other node. the node which has one or more children

6
New cards

Child Node

A node that is an immediate descendant of another node. All the nodes except root node are child nodes

7
New cards

Siblings

: Nodes which belong to the same parent

8
New cards

Edge

: The connecting link between any two nodes.

9
New cards

Internal Node

: A node with at least one child.

10
New cards

Leaf Node (External Node)

: Nodes that do not have any child

11
New cards

Level of a Node

: The number of edges in the path from the root to that node. The root node is at level 0 and increments by 1 at each level or step.

12
New cards

Depth

: Total number of edges from root node to a particular node

13
New cards

Subtree

: A node and all its descendants form a subtree.

14
New cards