about | help | code help+videos | done | prefs |
Weaving Words2 - This is a new word game - Given two words of different length, write a program that will "weave" the words together. Take the first letter from String str1 and then a letter from String str2. Continue this pattern. When you run out of letters from the second string, finish with the rest of the letters from str1. Return the resulting "Weave Word". weaveWords2("computer", "science") → "csocmipeuntceer" weaveWords2("alphabet", "soup") → "aslopuhpabet" weaveWords2("weave", "words") → "wweoarvdes" ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 162
Copyright Nick Parlante 2017 - privacy