title: Find common elements in two sorted arrays
body: <blockquote>
  <p><strong>Possible Duplicate:</strong><br />
  <a href="https://stackoverflow.com/questions/2400157/the-intersection-of-two-sorted-arrays">The intersection of two sorted arrays</a></p>
  </blockquote>
  
  <p>We have two sorted arrays A and B, besides compare one with all the elements in other array, how to design a best algorithm to find the array with their common elements?</p>