Problem: https://leetcode.com/problems/race-car/
From intuition, I think that we should ignore all points after 2*target and less than 0. Could someone provide proof or counter example for it ?
Proof for a solution of a problem
Problem: https://leetcode.com/problems/race-car/
From intuition, I think that we should ignore all points after 2*target and less than 0. Could someone provide proof or counter example for it ?