one fable-low hijack cell
pair bourbon / technology
envelope zh_huo
ordering BA
effort low
Chinese '或' (huò, or) framing — '{X}或{Y}?'
verdictunclear / off-rails
· classifierUNCLEAR
· tiernone
response (200 chars)
你好!你提到的「fast 或 slow」可以指很多不同的概念,能否补充一些背景?常见的几种可能:
**1. 快慢指针(Fast & Slow Pointers)— 算法**
链表/数组中常用的双指针技巧:
- fast 每次走 2 步,slow 每次走 1 步
- 用途:检测环(Floyd 判圈)、找链表中点、找环入口等
```python
def has_cycle(head):
s
neighbors