filmov
tv
[SOLVED!] Merge Strings Alternately - LeetCode 1768 - Java

Показать описание
#coding #interviews #softwareengineering
The solution to LeetCode problem 1768.
Description: You are given two strings: word1 and word2. Merge the strings by adding letters in alternating order, starting with word1. If a string is longer than the other, append the additional letters onto the end of the merged string.
Return the merged string.
SOCIAL
----------------------------------------------------------------------------------------------------------------
The solution to LeetCode problem 1768.
Description: You are given two strings: word1 and word2. Merge the strings by adding letters in alternating order, starting with word1. If a string is longer than the other, append the additional letters onto the end of the merged string.
Return the merged string.
SOCIAL
----------------------------------------------------------------------------------------------------------------