2 ms·
How did you test that the solution is correct? Is the set of possible inputs a low-ish finite number? Normally with mathematical problems you have to prove the
by layer8 6mo ago
How did you test that the solution is correct? Is the set of possible inputs a low-ish finite number?
Normally with mathematical problems you have to prove the solution correct. Testing is not sufficient, unless you can test all possible inputs exhaustively.