Search
⌘K

Leetcode 2109. Adding Spaces to a String

Given a string s and a strictly increasing list of indices, return the string formed by inserting a space before each character at those indices (indices may include 0).


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.