5 ms·
Nice! Really liked the sunk cost part. However, sometimes leaving isn't really a good idea because it's another N minutes to another station, which could take y
by vdnkh 11y ago
Nice! Really liked the sunk cost part. However, sometimes leaving isn't really a good idea because it's another N minutes to another station, which could take you M minutes farther from your destination than your current train, which arrives O minutes after you get there, which takes P minutes to your stop. For each station, would it be possible to instead calculate the point where (M + N + O + P) < max_wait_time?