Sigmoid interview question

find the cycle in lld