A 1D array is much like a 2D array which only has a single 'column' so a 2D array can be sorted in much the same way as a 1D array except when swaps occur they must be applied to all 'columns'.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.