4 ms·
Replace all algorithms with O(n^2) complexity (or worse) with more efficient ones and you should be fine on modern computers, even with Javascript.
by jansan 6y ago
Replace all algorithms with O(n^2) complexity (or worse) with more efficient ones and you should be fine on modern computers, even with Javascript.
- AlchemistCamp 6y agoPoor algorithm choice can certainly overwhelm all other factors, but it's not that simple. Sometimes it's not even possible to get any polynomial time solution, let alone quadratic.