Identify the correct definition of Graph.
- A. A data structure consisting of nodes (vertices) connected by edges, used to represent relationships. ✓
- B. A linear data structure that follows the First-In-First-Out (FIFO) principle.
- C. A linear data structure that follows the Last-In-First-Out (LIFO) principle.
- D. A linked list where each node has pointers to both the next and previous nodes.
Correct answer
A. A data structure consisting of nodes (vertices) connected by edges, used to represent relationships.
Explanation
Graph refers to a data structure consisting of nodes (vertices) connected by edges, used to represent relationships.