3 ms·Wrote an O(n²) solution not thinking n would be 1000000000.by fjyowe12452 4y agoWrote an O(n²) solution not thinking n would be 1000000000.