title: Given a Matrix 3x3 How can I traverse through the longest diagonal only?
body: <p>Given a Matrix 3x3 How can I traverse through the longest diagonal only?</p>
  
  <p>Take this example:</p>
  
  <pre><code>1 2 3
  4 5 6
  7 8 9
  </code></pre>
  
  <p>I want to traverse through 1,5,9 </p>