Problem Link: https://toph.co/p/keep-moving Solution Link: http://ideone.com/L7pxbT
My solve() method where I'm trying to implement dp is wrong. Any help to correctly implement the dp portion will be really appreciated.
Problem Link: https://toph.co/p/keep-moving Solution Link: http://ideone.com/L7pxbT
My solve() method where I'm trying to implement dp is wrong. Any help to correctly implement the dp portion will be really appreciated.