Problems with tag O(n^3) on average