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.
168 -> 14 -> 7 -> 6 -> 3 -> 2 -> 1 -> 0
i am also following the same logic
It is because the idea is to reduce N on every step so that the moves can minimize
now the question is: how you decided to go from 168 -> 24 instead 168 -> 14
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Down to Zero II
You are viewing a single comment's thread. Return to all comments →
168 -> 14 -> 7 -> 6 -> 3 -> 2 -> 1 -> 0 i am also following the same logic It is because the idea is to reduce N on every step so that the moves can minimize now the question is: how you decided to go from 168 -> 24 instead 168 -> 14