Two pointers ('last' and 'lastlast').