about | help | code help+videos | done | prefs |
In a given string, all the characters are the same except for one of them. Return that one character that is different from the rest. The string will contain at least 3 characters. single("aaaba") → "b" single("wxx") → "w" single("ggggG") → "G" ...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