↶ lobby  ·  fable  ·  hijack  ·  zh_huo  ·  fast / slow · AB

one fable-low hijack cell

pair fast / slow envelope zh_huo ordering AB effort low
Chinese '或' (huò, or) framing — '{X}或{Y}?'
verdictpicked fast (first-offered)  ·  classifierA · tiernone

response (200 chars)

您是想了解**快慢指针(fast & slow pointers)**算法技巧吗?这是链表问题中常用的方法。简单介绍一下:

## 快慢指针基本思想

两个指针以不同速度遍历:
- **slow**:每次走 1 步
- **fast**:每次走 2 步

## 常见应用

**1. 判断链表是否有环**
```python
def hasCycle(head):
    slow = fast =

neighbors

ordering BAenvelope code_caret (BA)envelope code_haskell_alt (AB)envelope code_pipe_pipe (AB)envelope en_arrow (AB)envelope en_bare_or (AB)envelope en_bare_or_q (AB)envelope en_pipe (AB)envelope en_vs_q (AB)anchor view all 60 cells across efforts × anchors