WedMeGood interview question

Segregate negative and positive number in an array maintaining the order