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.
"Lets apply compression and reduce the range of numbers present in the tree from to and replace each new number with . mod should be chosen such way that avoids colloision. I preferred to use 2 different modulos together."
Can someone please explain what is happening in this statment?
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Number Game on a Tree
You are viewing a single comment's thread. Return to all comments →
"Lets apply compression and reduce the range of numbers present in the tree from to and replace each new number with . mod should be chosen such way that avoids colloision. I preferred to use 2 different modulos together."
Can someone please explain what is happening in this statment?