| about | help | code help+videos | done | prefs |
An array list contains a list of words. Take the first character of the first word and concatenate it as the first character of each word and take the last character of the last word and concatenate it as the last character of each word. Return the modified array list of words. You may assume the words are non-empty Strings. listWackyWords(["buffalo", "dog"]) → ["bbuffalog", "bdogg"] listWackyWords(["football", "player", "silly"]) → ["ffootbally", "fplayery", "fsillyy"] listWackyWords(["great"]) → ["ggreatt"] ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Copyright Nick Parlante 2017 - privacy