Problems with tag O(nlog(logn))