SPM Tuition
Subject

PENANG 2025 P1 Q38

Medium
  1. The directed weighted graph in Diagram 18 shows ticket prices and travel times for flights. Vertex S is the destination from vertex P. Vertices Q and R are transit airports (transit time 45 minutes each). Edges: P→R RM 130 (1.5 h); P→S RM 200 (3 h); P→Q RM 50 (1 h); Q→R RM 45 (0.8 h); R→S RM 65 (1.1 h); Q→S RM 115 (1.4 h). If you need to travel at the optimum cost, state the best route.

    Medium
    Diagram for question 159