Checking Existence of Edge Length Limited Paths

Checking Existence of Edge Length Limited Paths - Coding Problem | K5kC