Using Java.
When gears merge and work together, one teeth from each one goes in order.
Write a method mergeStrings that will return the strings merged, one letter at a time, starting with one. Please noteone andtwo can be of different lengths. Please look at below examples:
s1 ==> "12345" s2 ==> "abcde" mergeStrings(s1,s2) ==> "1a2b3c4d5e" mergeStrings("wooden", "spoon") ==> "wsopoodoenn" mergeStrings("java", "selenium") ==> "jsaevlaenium"
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here