Skip to content

Memoized suffix decomposition [mp]

Micro pattern

Description

Cache decompositions of each suffix and prepend the current choice to cached results.

Problems