#include <stdbool.h> #include <stdlib.h> /** * struct ListNode { * int val; * struct ListNode *next; * }; */ /** * @author Senky * @date 2023.04.15 * @par url https://www.nowcoder.com/creation/manager/content/584337070?type=column&status=-1 * @brief 快慢指针,slow一次移动一个结点,fast一次移动两个结点,只要有环,fa...