Organizing Containers of Balls
Problem Link: Organizing Containers of Balls
David has n containers and n different types of balls, both of which are numbered from 0 to n-1. The distribution of ball types per container are described by an n x n matrix of integers, M, where each…