title: Find second largest number from an array in Ruby
body: <p>I have an array <code>a = [3,6,774,24,56,2,64,56,34]</code>.  I need to find the second largest number in a single iteration using Ruby. How do I achieve it?</p>