Count of substrings not having a specific character?

前端 未结 0 1910
栀梦
栀梦 2021-01-24 11:58

Input - baa

Character - b

Output - 3

Reason - "a","a" ,"aa"

相关标签:
回答
  • 消灭零回复
提交回复
热议问题