IBM logoIBM
Coding·60 minMembers

Earliest Coordinate Reach with Optional Moves

Members only

Given a string of directions and start/end coordinates, return the earliest second at which the target can be reached if each second allows either taking the indicated move or staying still.

SWE
MLE
dp
grid
string
medium
Frequency
Low
Last asked
2025-09-09
Stage
oa

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...