From 7427c140596cbe799714b9998d257888ed65f1c2 Mon Sep 17 00:00:00 2001 From: Vaia Patta Date: Sun, 25 Jan 2026 11:11:48 +0200 Subject: [PATCH] Added note about order of stops in Locomotive Engineer instructions Solves issue #1493 --- exercises/concept/locomotive-engineer/.docs/instructions.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/exercises/concept/locomotive-engineer/.docs/instructions.md b/exercises/concept/locomotive-engineer/.docs/instructions.md index 3d291e181e..685f9c59c9 100644 --- a/exercises/concept/locomotive-engineer/.docs/instructions.md +++ b/exercises/concept/locomotive-engineer/.docs/instructions.md @@ -62,6 +62,10 @@ LocomotiveEngineer.add_missing_stops({from: "New York", to: "Miami"}, # => {from: "New York", to: "Miami", stops: ["Washington, DC", "Charlotte", "Atlanta", "Jacksonville", "Orlando"]} ``` +~~~~exercism/note +The stops will always be passed in the correct order, so you don’t need to worry about sorting them. +~~~~ + ## 4. Extend routing information Linus has been working on the routing program and has noticed that certain routes are missing some important details.