Dear friends,
I have read this problem from last year to this year, but I am still unable to understand the example. The English is perfect. The way they express the problem is super nice, but it seems a little overwhelming for me. Therefore, can someone please help me clarify the sample input/output???
Thank you.
Where you able to build the graph for first example? Keep in mind that there can be crossroads outside of the towns joining multiple paths.