On Saturday, 23 July 2022 at 20:00:06 UTC, rikki cattermole wrote: > A bit more d-ified and uses foreach + foreach_reverse without > allocating an array. > > [...] Your give the correct code, but wrong Output. Thanks again for the help.