about | help | code help+videos | done | prefs |
replaceAsWithBs
Given a string, return a new string that replaces all the ocurrances of character A in the given string with character B. Don't use the replace method of the String class. (Difficulty Level: 3) replaceAsWithBs("ABCDE") → "BBCDE" replaceAsWithBs("ABAB") → "BBBB" replaceAsWithBs("Access") → "Bccess" ...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