Maximum frequency in a matrix

Sign in to test your solution.