Problems with tag O(m * n * 3^h)