using System.Collections.Generic;
public static void Main()
int[] arr = {-1,1,2,0,3,-5};
List<int> negative = new List<int>();
List<int> positive = new List<int>();
List<int> zero = new List<int>();
for(int i =0; i < arr.Length; i++ )
List<int> arrRes = new List<int>();
foreach(var i in negative)
foreach(var i in positive)
var res = arrRes.ToArray();