4 ms·
Sets are the most elemental way to abstract data. Not all data are graphs, but all data are sets. A graph is a set of vertices and a set of edges. So there's no
by mtdewcmu 13y ago
Sets are the most elemental way to abstract data. Not all data are graphs, but all data are sets. A graph is a set of vertices and a set of edges. So there's no loss of generality in using sets.