Problems with tag O(n * d * l)