about | help | code help+videos | done | prefs |
Weaving Words - This is a new word game - Given three words of unequal lengths, write a program that will "weave" the words together. Take the first letter from longest string, then a letter from middle string and then the smallest string. Continue this pattern and return the resulting "Weave Word". weaveThreeWords2("abc", "ab", "a") → "aaabbc" weaveThreeWords2("weave", "words", "great") → "wwgeorarevdaest" weaveThreeWords2("calculus", "advanced", "saturday") → "casadalvtcauunrlcdueasdy" ...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: 110
Copyright Nick Parlante 2017 - privacy