Problems > Boustrophedon > Editorial

Boustrophedon — Solution & Editorial

Back to the Problem

Reverse every second row while concatenating.

Complexity: O(NM)