Choose one or more CORRECT statement(s) below. A set cannot contain repeated elements. A dictionary may contain repeated
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Choose one or more CORRECT statement(s) below. A set cannot contain repeated elements. A dictionary may contain repeated
statement(s) below. A set cannot contain repeated elements. A dictionary may contain repeated keys as long as the corresponding values are distinct. Representing a graph using an adjacency matrix provides simplicity and allows efficient implementations for most algorithms on graphs. Using adjacency lists representation is beneficial especially when the graph is sparse (having few edges). A stack cannot be implemented using an array.
Choose one or more CORRECT