Search found 1 match

by matheuscscp
Sun Mar 15, 2015 4:55 am
Forum: Volume 111 (11100-11199)
Topic: 11158 - Elegant Permuted Sum
Replies: 23
Views: 18957

Re:

Sedefcho;
Try to be little more greedy ;)
For example you have 5 numbers : 1 2 3 4 7
first we take 7 1 (highest & lowest)
then the remaining numbers are 2 3 4
now in the remaining list 4 and 2 is the highest and lowest. we will try to put any of these two numbers in our output list's beginning or ...

Go to advanced search