you give string word1 word2 merge string add letter alternate order start word1 if string long append additional letter end merge stringreturn merge string example 1input word1 abc word2 pqroutput apbqcrexplanation the merged string merge soword1 b cword2 p q rmerged p b q c rExample 2input word1 ab word2 pqrsoutput apbqrsexplanation notice word2 long rs append endword1 b word2 p q r smerged p b q r sExample 3input word1 abcd word2 pqoutput apbqcdexplanation Notice word1 long cd append endword1 b c dword2 p q merge p b q c d constraints1 word1length word2length 100word1 word2 consist lowercase english letter