Search
⌘K
Get Premium
Leetcode 1528. Shuffle String
Given a string s and an indices array that is a permutation of 0..n-1, reconstruct and return the string formed by moving the character at position i in s to position indices[i] in the shuffled string.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.