add comment
two pointers, one slow, one fast
official answer
add comment