← Back to problems
Shield AI • route timing
Waypoint ETA
AeroSpace • Haversine legs • cumulative hours
Waypoints with lat/lon (and optional sequence). Sort if out of order, then compute ETA in hours from start to each waypoint using constant ground speed — distance/speed only when timestamps are missing.
SortO(W log W)
ETAsO(W)
Step0/0
Ready
Press Play or Step. Demo speed 800 km/h; waypoints arrive out of sequence.