Merge two given strings word1 and word2 by adding letters alternately.If one string is longer than the other, append the additional letters to the end of the merged string.Increment pointers for each string and add characters alternately to the final result.Complexity: O(max(N, M)), O(N)