3 ms·It's the same as enumerating 2D points in a spiral, but restricted to 1D.by edflsafoiewq 2y agoIt's the same as enumerating 2D points in a spiral, but restricted to 1D.