Loading subject…
Child
A node that is directly connected and one level below another node.
Data structure
A way of organising and storing data so that it can be used efficiently in algorithms and programs.
Debugging
The process of identifying and fixing errors or bugs in the code
Dynamic data structures
Data structures that can grow or shrink during program execution.
Edge
Connection between two nodes.
FIFO
First-In, First-Out principle.
LIFO
Last-in, First-out principle.
Node
A basic unit containing data and one or more pointers.
Parent
A node that has one or more children.
Pointer
A reference to another node.
Recursion
Process when function calls itself within its own definition/body.
Root
The topmost node of the tree.
Static data structures
Data structures whose size is fixed at compile time.
Subtree
The portion of the tree rooted at a particular node, consisting of that node together with all of its descendant nodes and the edges connecting them.
Tree traversal
The process of visiting each node in a tree data structure in a specific order.
Two-dimensional array
A data structure that organizes data in a grid-like format. It consists of rows and columns, allowing you to store and access data using two indices.