Switchback Trail Crossing Check — Coding Problem — CareerVerse