title: Find the second largest number in array
body: <p>I have an array of three element like [31,23,12] and I want to find the second largest element and its related position <strong>without rearranging the array</strong>.</p>
  
  <p><strong>Example :</strong></p>
  
  <pre><code>array = [21,23,34]
  </code></pre>
  
  <blockquote>
    <p>Second_largest = 23;</p>
    
    <p>Position is = 1;</p>
  </blockquote>