Mini-Max Sum

Problem from Hackerrank.

My solution:

 

Leave a Reply

Your email address will not be published.