0

Grouping Array Data
Given an integer matrix a and a nonnegative integer i, output a mapping b that maps the distinct values in the ith column of a to rows of a who have that value in the ith column.
You may assume that i is in the half-open range [0, num_cols(a)) (or [1, num_cols(a)] if you cho...