Capital One logoCapital One
Coding·70 minMembers

Train Schedule Nearest Departure

Members only

Given a sorted list of daily departure times and the current time, return how long ago the most recent train left (in minutes). If the current time is before the day's first train, the answer wraps to...

SWE
binary-search
array
easy
oa
codesignal
Frequency
Low
Last asked
2026-09-25
Stage
oa

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...