| about | help | code help+videos | done | prefs |
When given a 4 character long string, organize it first into pairs, then organize the letters in the pair so they are in lexicographical order, then organize the pairs so they are in lexicographical order with each other. If the pairs are equal with each other, return "EQUAL". organize("BAAB") → "ABAB" organize("meme") → "emem" organize("nerd") → "dren" ...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: 100 Post-solution available
Copyright Nick Parlante 2017 - privacy