Tagged in

Hour Rank 17

Codebrace
Codebrace
Coding blog to help people get going with Competetive programming, Big Data and other technologies, visit http://medium.com/codebrace
More information
Followers
187
Elsewhere
More, on Medium

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…