Home > Blockchain >  Sort a two dimension array into a one-dimensional array using zigzag algorithm
Sort a two dimension array into a one-dimensional array using zigzag algorithm

Time:10-01

I have a problem that consists in sorting an two-dimensional array into one-dimensional array using zigzag.

for example we have this input:

  • Related