about | help | code help+videos | done | prefs |
Given an array of strings, return a Map<String, Boolean> where each different string is a key and its value is true if that string appears 2 or more times in the array. wordMultiple(["a", "b", "a", "c", "b"]) → {"a": true, "b": true, "c": false} wordMultiple(["c", "b", "a"]) → {"a": false, "b": false, "c": false} wordMultiple(["c", "c", "c", "c"]) → {"c": true} ...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: 360 Post-solution available
Copyright Nick Parlante 2017 - privacy