Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Cursion solution in Creative category for On the same path by veky
C=lambda f,x:any(r==x or C(f,x)for r,f in f)
D=lambda r,f,p,c:C(f,c)if r==p else any(D(r,f,p,c)for r,f in f)
on_same_path=lambda t,s:[D(*t,a,b)or D(*t,b,a)for a,b in s]
Dec. 11, 2019
Comments: