Problem 2629 · Easy

Function Composition

Chain functions so the value flows through the last one first and the first one last; an empty chain returns the input unchanged.

Open the interactive visualisation