I have a list of numbers, the list size could be varying in size from 1 to 60. Here is an example:
1
2
3
4
5
6
7
I need to sort it to where the LARGEST number is in the middle and it gradually gets smaller going outwards, think of balancing a weight in the center of a pivot point. For example:
1
3
5
7
6
4
2
Note the list of numbers could be up to 60 entries.
I'm stumped
1
2
3
4
5
6
7
I need to sort it to where the LARGEST number is in the middle and it gradually gets smaller going outwards, think of balancing a weight in the center of a pivot point. For example:
1
3
5
7
6
4
2
Note the list of numbers could be up to 60 entries.
I'm stumped