give string s consist character b cReturn number substring contain occurrence character b c Example 1input s abcabcoutput 10explanation the substring contain occurrence character b c abc abca abcab abcabc bca bcab bcabc cab cabc abc Example 2Input s aaacboutput 3explanation the substring contain occurrence character b c aaacb aacb acb Example 3input s abcoutput 1 constraints3 slength 5 x 104s consist b c character