most frequently occurring value in 2D matrix
Hi , I want to find the most frequently occurring value in a 2D matrix. i was trying to use std::max_element but it didn't work because it is only works with a one dimension vector .. could anybody help me please ?