Programming, Graph Theory, Computer Science, Mathematics, Data Structures.
ordered pairs, because direction actually matters in this case! Since we can only travel from the origin node to the destination node, our edges must be ordered, such that the origin node is the first of the two nodes in each of our edge definitions. Cool, so that’s how we define graphs. But…when