about | help | code help+videos | done | prefs |
comboString2
Given 2 strings, a and b, return a string of the form long+short+long, with the shorter string on the inside and the longer string on the outside. The strings will not be the same length, but they may be empty (length 0). comboString2("Hello", "hi") → "HellohiHello" comboString2("hi", "Hello") → "HellohiHello" comboString2("aaa", "b") → "aaabaaa" ...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: 10
Copyright Nick Parlante 2017 - privacy