ARCHOS 525 BLUEPRINT · /d/dgm_code-linked-list-and-cycle-pointers
Linked-List Pointer Techniques (Dummy Sentinel, Reversal & Fast/Slow)
6 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[](https://archos.sageideas.dev/d/dgm_code-linked-list-and-cycle-pointers) *Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_code-linked-list-and-cycle-pointers)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_code-linked-list-and-cycle-pointers" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Linked-List Pointer Techniques (Dummy Sentinel, Reversal & Fast/Slow) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
client_0["Singly / Doubly List"]
n1_1["Dummy Sentinel Head"]
n2a_2["Fast / Slow Pointers"]
n2b_3[("In-Place Relinker")]
n3_4["Relinked List Head"]
downstream_5["Downstream & OTel"]
client_0 -->|"1. Attach · O1"| n1_1
n1_1 -->|"2a. Step 1x/2x · ON"| n2a_2
n1_1 -->|"2b. Flip next · O1 RAM"| n2b_3
n2a_2 -->|"3a. Emit head · O1"| n3_4
n2b_3 -->|"3b. Merge · RAM"| n3_4
n3_4 -.->|"4. Emit / · OTLP/API"| downstream_5COMPONENT STACK (6)
- Singly / Doubly ListSTATELESSHead pointer
- Dummy Sentinel HeadSTATELESSEliminates null-head special cases
- Fast / Slow PointersSTATELESSMidpoint, K-th from end & cycle
- In-Place RelinkerSTATEFUL3-pointer prev/curr/next reverse
- Relinked List HeadSTATELESSReturn dummy.next cleanly
- Downstream & OTelSTATELESSConsumers, metrics & SLOs
REQUEST & DATA FLOW (6)
- Singly / Doubly List → Dummy Sentinel Head (Attach)[O1]
- Dummy Sentinel Head → Fast / Slow Pointers (Step 1x/2x)[ON]
- Dummy Sentinel Head → In-Place Relinker (Flip next)[O1 RAM]
- Fast / Slow Pointers → Relinked List Head (Emit head)[O1]
- In-Place Relinker → Relinked List Head (Merge)[RAM]
- Relinked List Head → Downstream & OTel (Emit /)[OTLP/API]