XOR paths

Problem Name:
XOR paths
Site:HackerEarth
Links:
Tags:
Problem setters: