I\'m trying to turn array of array to chunked array and finally to merge it in specific way which I explain below.
I have tried this so far:
const getC