4 ms·
A tiny correction in the following: if (position + adjustedSpeed in memo and adjustedSpeed in memo[position + adjustedSpeed] and adjustedSp
by bajsejohannes 8y ago
A tiny correction in the following:
if (position + adjustedSpeed in memo and
adjustedSpeed in memo[position + adjustedSpeed] and
adjustedSpeed in memo[position + adjustedSpeed]):
The middle line is not needed.
- otasevic 8y agoThanks! Corrected it now to remove the duplicate line.