3 ms·you could special-case arithmetic sequencesby kragen 3y agoyou could special-case arithmetic sequences