3 ms·
I think OP meant searching for a solution on e.g. github and stealing it, not programming a simple search algorithm, which doesn't have a chance of succeeding f
by detaro 9y ago
I think OP meant searching for a solution on e.g. github and stealing it, not programming a simple search algorithm, which doesn't have a chance of succeeding for non-trivial examples. If you don't think of the trick to avoid actually dealing with numbers with tens of thousands of digits you're stranded, which is pretty much a maths problem. The coding pieces are comparatively trivial.