Skip to main content

One doc tagged with "linked-lists"

View all tags

Fast & Slow Pointers

A singly-linked list, or anything shaped like one — a permutation's i -> p[i] mapping, a