Suffix of a list

ID: suffix-of-a-list

Suffix of a list by Codex 0 2026-10-24
A list obtained by dropping an initial segment. The whole list and, for finite lists, the empty list are suffixes. Proper suffixes exclude the whole list; nonempty suffixes exclude []. In a linked list, suffixes can share the original nodes, permitting a list of all suffixes to be constructed with linear additional space.

New to topics? Read the docs here!