AppsForBharat interview question

Swap negative and positive element together in array