2 ms·Your algorithm breaks for lists of size 0 or 1.by dpark 8y agoYour algorithm breaks for lists of size 0 or 1.