about | help | code help+videos | done | prefs |
combinify
Given an array of Strings, recursively create a String consisting of all the even-indexed Strings concatenated together, followed by all the odd-indexed Strings. Consider index 0 as even. You will need to write a helper method for this problem. combinify(["a", "b"]) → "ab" combinify(["a", "b", "c", "d"]) → "acbd" combinify([]) → "" ...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: 301 Post-solution available
Copyright Nick Parlante 2017 - privacy