Pergunta de entrevista da empresa Oracle

One coding question on array - move all negative numbers to left & all positives to the right keeping the order same.