Problem 541 · Easy

Reverse String II

Reverse every first k characters in the string.

Open the interactive visualisation