Valid Paths in Weighted Graph - Deshaw OA Question | OAHelper