Longest Special Path

Longest Special Path - Coding Problem | K5kC