A data structure is best defined as:
Which data structure stores elements in contiguous memory locations?
Which data structure uses the LIFO (Last-In, First-Out) principle?
Which data structure uses the FIFO (First-In, First-Out) principle?
In a singly linked list, each node contains:
Which data structure models complex relationships and networks using nodes and edges?
The topmost node of a tree is called the:
A node in a tree that does not have any children is called a:
Which operation adds a new element at the top of a stack?
Which operation removes an element from the front of a queue?