Questions tagged [sort]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
17
votes
10answers
538 views

2-Dimensional Bubble Sort

Sorting makes no sense for a 2-dimensional array... or does it? Your task is to take an input grid and apply a bubble-sort-like algorithm to it until all values in the grid are non-decreasing from ...