A structure that represents binary relations among a collection of entities is a:
AGraph
BGrid
CGroup
DGauge
Answer & Solution
Correct answer: A. Graph
1. Entities are vertices and relations are edges.
2. The structure need not be hierarchical.
3. That structure is a graph.
_Source: OpenStax Introduction to Computer Science, Chapter 3, Data Structures and Algorithms._
Keep practising Data Structures and Algorithms
Browse all Data Structures and Algorithms questions for Coding Interview Prep, or explore more Computer Science topics.