JavaScript:实现检测列表中的循环算法
function main () {
const head = '' // Reference to head is given in the problem. So please ignore this line
let fast = head
let slow = head
while (fast
function main () {
const head = '' // Reference to head is given in the problem. So please ignore this line
let fast = head
let slow = head
while (fast