4 ms·
So what is N here? The sequence length, number of digits across all sequence elements, sum of all elements?
by dooglius 5y ago
So what is N here? The sequence length, number of digits across all sequence elements, sum of all elements?
- deleted 5y ago[deleted]
- qsort 5y agoN is the sum of the lengths of the elements of all lists, when all elements are written in binary (or any other base, which is the same up to a constant).