| about | help | code help+videos | done | prefs |
Given two Strings, each with a even number of characters, return a new String with only the first half of each combined in lexicographic (alphabetical) order unless the halves are the same in which case only return "X". combineHalvesOrder("AB", "CD") → "AC" combineHalvesOrder("CD", "AB") → "AC" combineHalvesOrder("ABBA", "AB") → "AAB" ...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: 200
Copyright Nick Parlante 2017 - privacy