阅读背景:

Binary String Matching

来源:互联网 

Binary String Matching

 

描述
      Given two strings A and B, whose alphabet consist only ‘0’ and ‘1’. Your task is only to tell how many times does A appear as a substring of B? For example, the text string B is ‘1001110110’ while the pattern string A is ‘11’, you should output 3, because the pattern A appeared at the posit      Given two s




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: