about | help | code help+videos | done | prefs |
Write a method that returns a string made by interlacing the two input parameter strings. For example, "RUN" and "later" becomes "RlUaNter". Once the end of either string is reached the interlacing process stops and then the unused characters at the end of the longer string are appended to the end. Look at the test data for additional examples. mar7_2017_SLHL_interlaceFull("g", "") → "g" mar7_2017_SLHL_interlaceFull("", "x") → "x" mar7_2017_SLHL_interlaceFull("abcdef", "xyxzz") → "axbycxdzezf" ...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: 290
Copyright Nick Parlante 2017 - privacy