Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Split List by suic
function splitList(values: number[]):number[][] {
let middle = Math.ceil(values.length / 2)
return [values.slice(0, middle), values.slice(middle)];
}
Aug. 9, 2020