Leetcode - 1768. Merge Strings Alternately
Question / Problem: Leetcode
Solution
class Solution {
public String mergeAlternately(String word1, String word2) {
int m = word1.length(), n = word2.length(), i = 0;
StringBuilder result = new StringBuilder();
while(i < ...
dhayalram.hashnode.dev1 min read