Problems with tag O((m * n) * log(m * n))