Sponsored
Sponsored
Use these hints if you're stuck. Try solving on your own first.
Make a new string such that for each character in <code>s</code>, character <code>i</code> will correspond to <code>(i + k) % s.length</code> character in the original string.