about | help | code help+videos | done | prefs |
Write the method keepPairs. This method receive a String array of "cards". The method will find all pairs and return all non-pairs in a string array. Sample: ["H1","C1","H3","C4","D9"] the return String array would be:["H3","C4","D9"] keepPairs(["H1", "C1", "H3", "C4", "D9"]) → ["H3", "C4", "D9"] ...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: 120
Copyright Nick Parlante 2017 - privacy