5 ms·
I just had some feedback, and did some more number crunching which revealed this is not O(n) but still O(n^2) - I have modifed the article accordingly but will
by parksy 7y ago
I just had some feedback, and did some more number crunching which revealed this is not O(n) but still O(n^2) - I have modifed the article accordingly but will leave it up as the algorithm still provides significant improvements in efficiency for larger numbers of rows.