News for hackers. Stuff that matters.
Re:Solving dynamic programming interview problems by bajsejohannes on Friday May 18, 2018 @07:44PM (#17105780)
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.
Re:Solving dynamic programming interview problems by otasevic on Friday May 18, 2018 @09:50PM (#17106192)
Thanks! Corrected it now to remove the duplicate line.