Educative

Why is second solution considered faster?

Why is the two pointers method faster?
Doesnt seem faster to me, they seem to have the same speed

If you iterate it once but do double the work in each iteration (moving two pointers instead of one), why would it be faster?