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.
it works perfectly in haker rank but, when i use it in net beans , and i enter a number like 82345 or bigger it throws a stack overflow error in the line:
// min = Math.min(min, 1 + minMove(factor));
and i dont understand why.
Down to Zero II
You are viewing a single comment's thread. Return to all comments →
it works perfectly in haker rank but, when i use it in net beans , and i enter a number like 82345 or bigger it throws a stack overflow error in the line: // min = Math.min(min, 1 + minMove(factor)); and i dont understand why.