about | help | code help+videos | done | prefs |
howManyB_C
Given an input string, find how many times the string "B*C" appears with no "A" before it and with no "D" following it. The "*" in "B*C" can be any symbol. howManyB_C("QB#C1") → 1 howManyB_C("AB3C1") → 0 howManyB_C("AB4C1 B2C ") → 1 ...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: 100
Copyright Nick Parlante 2017 - privacy