title: patterns possible on 3x3 matrix of numbers
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/6979524/android-lock-password-combinations">android lock password combinations</a>  </p>
  </blockquote>
  
  
  
  <p>Respected sir,
  I came across a question which asked for finding all the unique pattern possible given a 3x3 matrix with numbers from 1-9. which is same as android lock screen. Can you help me how to find it ?? I was thinking can we use floyd warshall for this and increment count whenever the value changes in the subsequent matrix??</p>