Wayfair Interview Question

rearrange positives and negatives in an array