• + 5 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.