about | help | code help+videos | done | prefs |
Given a list of strings, return a list where each string has "y" added at its end, omitting any resulting strings that contain "yy" as a substring anywhere. noYY(["a", "b", "c"]) → ["ay", "by", "cy"] noYY(["a", "b", "cy"]) → ["ay", "by"] noYY(["xx", "ya", "zz"]) → ["xxy", "yay", "zzy"] ...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: 220
Copyright Nick Parlante 2017 - privacy