title: Dynamic Programming total non uniform patterns idenification
body: <p>Can some one give me an idea how to solve following problem</p>
  
  <p>Input:
  - Given String of binary numbers "1000101010101"
  - pattern "101"
  output: an integer indicating possible no of non continuous patterns available</p>
  
  <p>Explanation:</p>
  
  <p>input: "10101"
  output: 4</p>
  
  <p><strong>10</strong>10<strong>1</strong>
  <strong>101</strong>01
  10<strong>101</strong>
  <strong>1</strong>01<strong>01</strong></p>