We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Even i'm trying to solve it by DP, but the problem i'm facing is the snakes cases. We need to update the square with tail of snake with the mouth of snake but we don't have that value yet. Please ping me if you thought of something, @brocktane and @PureEvil .
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Snakes and Ladders: The Quickest Way Up
You are viewing a single comment's thread. Return to all comments →
Even i'm trying to solve it by DP, but the problem i'm facing is the snakes cases. We need to update the square with tail of snake with the mouth of snake but we don't have that value yet. Please ping me if you thought of something, @brocktane and @PureEvil .