It was problem on CoderPad. Basically you're given an array of numbers and you must place the numbers on a pendulum array.
Anonymous
Sort the array and since you know the count just place the smallest number in the middle and place each number to the right or left of the middle number
Check out your Company Bowl for anonymous work chats.