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