Pergunta de entrevista da empresa miniOrange

Extract 3/3 matrix from any 6/8 matrix whose sum is maximum