Search
⌘K

Leetcode 1768. Merge Strings Alternately

Interleave two strings by alternately taking characters from each starting with word1 and, if one string is longer, append its remaining characters to the end. Return the resulting merged string.


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.