LeetCodeFind the Encrypted StringFind the Encrypted StringEasyStringSolution export function getEncryptedString(s: string, k: number): string { const i = k % s.length; return s.substring(i) + s.substring(0, i); } Complexity Time: O(N) Space: O(1) LeetCodeFind the Encrypted Stringhttps://leetcode.com/problems/find-the-encrypted-string