3 ms·
Does everyone understand something I don’t about #1? It never said they were unique integers.
by kolbe 7y ago
Does everyone understand something I don’t about #1? It never said they were unique integers.
- kmill 7y agoThe array is length N, and it says it contains the integers 1 through N inclusive, as in, all of them. If there were any repeats, then you'd have an array of length greater than N.
- kolbe 7y agoSeems like somewhat ambiguous semantic garbage to me. Especially when there is a much clearer three letter word to use (all) that would actually communicate the the point of the question.