Choose one or more CORRECT statement(s) below. A set cannot contain repeated elements. A dictionary may contain repeated
Posted: Mon Jun 06, 2022 6:33 pm
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