MathCastle
Linear AlgebraMediumMatrices & Systems

Matrices & Systems · Medium problem

Four small airports P,Q,R,SP, Q, R, S have direct flights PP-QQ, PP-RR, QQ-RR, QQ-SS and RR-SS (each flyable in either direction), and no others – in particular, no direct flight PP-SS. How many ways can a traveler fly from PP to SS with exactly one stop?