Fast&Slow pointer

Should pay attention to boundary value