title: maximize summation of absolute difference of array by rearranging the array
body: <p>Arrange given array in a such a way that the <code>summation of the absolute differences between every two adjacent numbers is maximum</code></p>
  
  <p>array=( 1, 2, 7)
  arrangement is <code>(1,7,2)</code></p>
  
  <pre><code>sum=|1-7|+|7-2|=11
  </code></pre>