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.
Oh no, you have me totally wrong, I meant that I believe no tail will ever get updated more than once. At least that's the premise of my implementation. After I process a tail, I remove the snake entirely. Maybe I'm wrong here?
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 →
Oh no, you have me totally wrong, I meant that I believe no tail will ever get updated more than once. At least that's the premise of my implementation. After I process a tail, I remove the snake entirely. Maybe I'm wrong here?