CodeGolf : Find the Unique Paths
- by st0le
Here's a pretty simple idea, in this pastebin I've posted some pair of numbers. These represent Nodes of a unidirected connected graph.
The input to stdin will be of the form, (they'll be numbers, i'll be using an example here)
c d
q r
a b
d e
p q
so x y means x is connected to y (not viceversa)
There are 2 paths in that example.…