about | help | code help+videos | done | prefs |
numVworthy
V_worthy problem .. given a non-empty array of Strings called wordsList, return the number of Strings that are V_worthy (a V_worthy String has a "v" in it and the Strings immediately before and after in the array do not have a "w". All words are all lowercase. numVworthy(["va", "va", "wa", "wa", "va", "va"]) → 2 numVworthy(["va", "wa", "va"]) → 0 numVworthy(["va", "aa", "va", "aa", "va", "aa"]) → 3 ...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